Skip to content

Header duplication with KafkaDelayedRetryTopic #3209

@joystuffs

Description

@joystuffs

Description

I noticed there is a header duplication using the KafkaDelayedRetryTopic, I saw there was already a discussion about it.

#2979

I see the original headers are copied in to the new retry record headers as shown below

record.getHeaders().forEach(header -> retry.headers().add(header));

Image

I was wondering if this is the actual design, to carry the old headers along the retry records chain or if it can be simplified given that each retry record has already its own header information.

I also notice that this breaks the quarkus dev UI when I try to navigate the topic given the header duplication as mentioned in the mentioned issue.

Question

is this a expected behavior?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions