Skip to content

Event ordering

In order for the Event Service to maintain the order of event messages, the publisher must include EntityID(Please refer SDK section to know more on EntityID field). To understand Kafka partitions, search the web or read this article{:target=“_blank”}. Note that some methods of consumer polling do result in the loss of message order. Currently, the only way that event order is maintained all the way to a consumer is for the publisher to include the EntityID and for the consumer to poll using the SDK and to only poll from a single consumer instance. If the consumer spins up multiple instances on a single subscription, order is lost. The Event Service team is actively investigating solutions to maintain order even when multiple instances are implemented for a single consumer/subscription.