How to get ordered delivery of messages at consumer side? #5097
shreyasarani23
started this conversation in
General
Replies: 1 comment 4 replies
-
Kafka guarantees ordering only on a per-partition basis. The messages you send will be split between 3 partitions. And when you consume them, you will receive them in block from the different partitions. So for example:
As you can see, the per partition ordering is still maintained. (just an example -> they might be split differently in your case) This is really a Kafka architecture thing, nothing to do with Strimzi per se. The Kafka Definitive Guide book (should be available for free to download AFAIK) explains the Kafka architecture and how it works quite well if you are interested in more details. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @scholzj
Following is my topic configuration
I have produced records into the topic by using following properties
Here the problem is that even though using enable.idempotence=true but at the consumer side I am not getting ordered delivery of messages. At the consumer side I want the output to be 1234567. Please help is there additional configuration required?
Beta Was this translation helpful? Give feedback.
All reactions