Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NPE when only batchHandler is specified (round 2) #284

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

Strainy
Copy link
Contributor

@Strainy Strainy commented Jan 5, 2025

Having another go at #281 (reverts commit 4413c1e).

@Strainy
Copy link
Contributor Author

Strainy commented Jan 6, 2025

@tsegismont I believe the issue with the test suite was basically that messages were being consumed by handlers before the batch handler was being set on the consumer instance. So I've just rejigged the consumer setup order in a couple of tests that were timing out because of this. Let me know if this looks okay to you 😄

Copy link
Contributor

@tsegismont tsegismont left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you

@tsegismont tsegismont requested a review from ppatierno January 6, 2025 10:21
@tsegismont
Copy link
Contributor

@Strainy thank you, that makes sense. Can you create a PR for the 4.x as well please?

@ppatierno PTAL

Copy link
Member

@ppatierno ppatierno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@tsegismont tsegismont merged commit 9b0b3d0 into vert-x3:master Jan 6, 2025
4 checks passed
Strainy added a commit to Strainy/vertx-kafka-client that referenced this pull request Jan 9, 2025
* Revert "Revert "Fix NPE when only batchHandler is specified (vert-x3#281)" (vert-x3#282)"

This reverts commit 4413c1e.

* reorganize tests to configure handlers prior to assignment
tsegismont pushed a commit that referenced this pull request Jan 9, 2025
* Revert "Revert "Fix NPE when only batchHandler is specified (#281)" (#282)"

This reverts commit 4413c1e.

* reorganize tests to configure handlers prior to assignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants