-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Milestone
Description
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.