-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Duplicate header processing in BatchMessagingMessageConverter#processRecord()
#3589
Comments
bky373
added a commit
to bky373/spring-kafka
that referenced
this issue
Oct 25, 2024
…eader issues `BatchMessagingMessageConverter`
bky373
added a commit
to bky373/spring-kafka
that referenced
this issue
Oct 25, 2024
bky373
added a commit
to bky373/spring-kafka
that referenced
this issue
Oct 25, 2024
…ging/header issues
sobychacko
pushed a commit
to sobychacko/spring-kafka
that referenced
this issue
Oct 28, 2024
…ging/header issues Remove unnecessary check Fix checkstyle violation Change log level from WARN to DEBUG Refactor headers conversion method Add natives condition for logging when no header mapper
PR merged. |
sobychacko
pushed a commit
that referenced
this issue
Dec 24, 2024
Remove unnecessary check Fix checkstyle violation Change log level from WARN to DEBUG Refactor headers conversion method Add natives condition for logging when no header mapper
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In what version(s) of Spring for Apache Kafka are you seeing this issue?
For example:
Describe the bug
headerMapper
, but now they are left as many times as there are records.listenerInfo
onrawHeaders
is being attempted as many times as there are records.To Reproduce
BatchMessageConverterTests#testNoMapper()
.Expected behavior
headerMapper
.listenerInfo
torawHeaders
is also attempted only once.Sample
Test before fixing:
Test after fixing:
I'm opening a PR right away to address this issue.
The text was updated successfully, but these errors were encountered: