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

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

Open
boonware opened this issue Nov 16, 2020 · 0 comments
Open

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

boonware opened this issue Nov 16, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@boonware
Copy link
Member

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.
@boonware boonware added the enhancement New feature or request label Nov 16, 2020
@boonware boonware changed the title Support non-unique headers on the retry topic Support non-unique message keys on the retry topic Nov 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant