Skip to content

Repeating headers in Non-Blocking Retry Mechanism #2549

@wojciechcwek

Description

@wojciechcwek

Expected Behavior

I'd like to have an option not to accumulate headers from previous topcis. Is it possible to add a flag, which would work as stripOriginalExceptionHeaders, but it would relate to all other headers?

Current Behavior

I've noticed that the following headers accumulate on next retry topics:

retry_topic-attempts
retry_topic-backoff-timestamp
retry_topic-original-timestamp

It means that on retry_0 there are 3 headers, on retry_1 they are doubled and finally on dlt they are tripled.

Context

Each next retry message is heavier than the previous one. This would save memory. As far as I unterstand they are essential to conduct retry process, but I don't think that DLT needs information regarding retry_0.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions