Skip to content

OrderedConsumer Usage #1736

Answered by Jarema
arhoads asked this question in Q&A
Nov 12, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Ordered Consumer is a client side construct that creates an ephemeral consumer with no-ack and, on client side, tracks the sequences. If it detects the gap, it will recreate the consumer.
It's meant to be used if you want to quickly whip through the stream (as its really fast without acks, replication and rtt-dependand max-ack-pending) and stop.

If you want long-lived processing, durable consumer with MaxAckPending = 1 is all you need to ensure order.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@arhoads
Comment options

Answer selected by arhoads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants