You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In what version(s) of Spring for Apache Kafka are you seeing this issue?
For example:
3.3.0-SNAPSHOT
Describe the bug
Originally, logs were supposed to be left once per record list when there is no headerMapper, but now they are left as many times as there are records.
Similarly, putting listenerInfo on rawHeaders is being attempted as many times as there are records.
To Reproduce
Run BatchMessageConverterTests#testNoMapper().
Expected behavior
It only logs once when there is no headerMapper.
Putting listenerInfo to rawHeaders is also attempted only once.
Sample
Currently, the logs in the code are at the DEBUG level, but I changed them to WARN for ease of reading.
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:
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: