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

Changes the buffer so that errors from the fetcher will be thrown once the buffer is empty. #287

Merged
merged 6 commits into from
May 12, 2022

Conversation

gklijs
Copy link

@gklijs gklijs commented May 11, 2022

With this change, exceptions while consuming from Kafka no longer are just logged but passed to the buffer. Once the buffer is empty, the exception will be thrown such that the processor will go into retry mode.

Fixes #276

Copy link
Member

@smcvb smcvb left a comment

Choose a reason for hiding this comment

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

Couple of minor arguments.

Gerard Klijs and others added 5 commits May 11, 2022 17:26
…ndling/consumer/FetchEventException.java


Review fixes

Co-authored-by: Steven van Beelen <[email protected]>
…ndling/consumer/FetchEventException.java


Review fixes

Co-authored-by: Steven van Beelen <[email protected]>
…ndling/consumer/RuntimeErrorHandler.java


Review fixes

Co-authored-by: Steven van Beelen <[email protected]>
…ndling/consumer/RuntimeErrorHandler.java


Review fixes

Co-authored-by: Steven van Beelen <[email protected]>
…hod and add tests for the exception through the buffer for the StreamableKafkaMessageSource.
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

72.2% 72.2% Coverage
0.0% 0.0% Duplication

Copy link
Member

@smcvb smcvb left a comment

Choose a reason for hiding this comment

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

My concerns have been addressed, hence I'm approving this pull request.

@gklijs gklijs merged commit e28ef2b into axon-kafka-4.5.x May 12, 2022
@smcvb smcvb deleted the issues/276 branch September 12, 2022 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants