Skip to content

How to mutate ProducerRecord in ProducerInterceptor when used via KafkaTemplate? #2868

Answered by garyrussell
pw-lehre asked this question in Q&A
Discussion options

You must be logged in to vote

This is a bug; cc/ @sobychacko

In the meantime, you can add the interceptor class name to the producer factory configuration properties instead of to the template.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by artembilan
Comment options

You must be logged in to vote
2 replies
@garyrussell
Comment options

@Wzy19930507
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants