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

GH-3555: Improve docs for KafkaHeaders.CONVERSION_FAILURES #3611

Merged
merged 2 commits into from
Nov 11, 2024

Conversation

artembilan
Copy link
Member

Fixes: #3555
Issue link: #3555

The batch might be processed in the @KafkaListener silently without looking into conversion failures header. So, that might cause in impression that nothing is wrong with the batch.

  • Mention KafkaHeaders.CONVERSION_FAILURES in the docs
  • Add warn for the failed conversion in the BatchMessagingMessageConverter
  • Some other code optimization clean up in the BatchMessagingMessageConverter

…LURES`

Fixes: spring-projects#3555
Issue link: spring-projects#3555

The batch might be processed in the `@KafkaListener` silently without looking into conversion failures header.
So, that might cause in impression that nothing is wrong with the batch.

* Mention `KafkaHeaders.CONVERSION_FAILURES` in the docs
* Add `warn` for the failed conversion in the `BatchMessagingMessageConverter`
* Some other code optimization clean up in the `BatchMessagingMessageConverter`
@sobychacko sobychacko merged commit 0318c1d into spring-projects:main Nov 11, 2024
3 checks passed
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.

Log conversion failures in batch listeners
2 participants