Skip to content

message headers and key get discarded for retry messages #47

Description

@andytson-inviqa

When a handler returns an error for a message, the consumer triggers the publishing to retry queues with only the payload and misses adding the headers and key (latter used for partitioning sometimes).

_, _, err := p.producer.SendMessage(&sarama.ProducerMessage{
Topic: f.NextTopic,
Value: sarama.ByteEncoder(f.Message),
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions