Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Support non-unique message keys on the retry topic #1

@boonware

Description

@boonware

Current Behaviour

A message queued for retry with the same key as another queued message will replace that message in the retry queue. This is undesirable as often the same key is used on multiple messages for partitioning purposes. We must remove the requirement that each message sent to the retry topic must have a unique key. This behaviour is a holdover from a previous implementation that used KTable for consuming the retry topic.

Proposed Behaviour

  1. Allow each message sent to the retry topic to be queued independently, is.e. there should be no requirement for unique keys.
  2. Ensure the original message key will be set for the outbound message sent to the origin topic.
  3. Support a mechanism to allow overwriting of queued messages, if desired. For example, via a new header x-ibm-retry-replace set to true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions