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 exception handling for reactive consumers #455

Merged

Conversation

giamo
Copy link
Contributor

@giamo giamo commented Dec 6, 2021

Version 4.1.0 introduced a bug for reactive consumers, the DefaultKafkaListenerExceptionHandler is always used even when a bean implements its own KafkaListenerExceptionHandler.

The problem was introduced here #441, there are a couple of calls to the handleException() that expects a consumerBean which are receiving a consumerState. Added a test to verify that the simple fix works.

cc @dstepanov

@CLAassistant
Copy link

CLAassistant commented Dec 6, 2021

CLA assistant check
All committers have signed the CLA.

@dstepanov dstepanov merged commit 8f9e772 into micronaut-projects:master Dec 7, 2021
@dstepanov
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants