Hello Mathieu,
Is the web service module and the background component sharing the same
producer client to send messages, and are they sending messages to the same
topic?
If answer is yet to both, then ordering should be preserved, since the
producer.send() call will append the messages to the
Hi Mathieu,
If the messages are sent asynchronously, then what you're observing is indeed
right. There is no guarantee that the first will arrive at the destination
first.
Perhaps you can try sending them synchronously (i.e., wait until the first one
is received, before sending the second).
Hey Apache Users,
I'm working on a web application that has a web service component, and a
background processor component. Both applications will send messages to
the same Kafka topic as an object is manipulated.
In some cases, a web service call in the service component will send a
message to