What is the purpose of OutboxWorker EnforceMessageOrder? Why not rely on Confluent idempotent producer configuration? #196
Replies: 2 comments 12 replies
-
Hi, as written in the field's documentation: specifies whether the messages must be produced in the same order as they were added to the queue. If set to It's intended as overall ordering, across all topics/endpoints. If you set that to |
Beta Was this translation helpful? Give feedback.
-
Hi, thank you for your quick response. When we set EnforceMessageOrder to True and we do encounter an exception processing a message in the batch, for example, message size too big, we have found that the outbox worker gets stuck in the WaitAllAsync while loop. Thanks again. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I’m curious about the use of EnforceMessageOrder on the OutboxWorker. When should it be used and what is its purpose? We have set our producer to EnableIdempotence and Acks All, which seems to guarantee message order for a topic and partition in the event of a message error. We are satisfied with this capability. Is EnforceMessageOrder intended for situations where EnableIdempotence cannot be relied upon for a topic and message order must be enforced across different topics?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions