Parallel Processing of Kafka events with order in MuleSoft

As we know Kafka is a streaming platform, It best suits in one of the scenarios where same event has to be feed across different instances. This can be achieved by creating different consumer group Ids. Consider a scenario, there is a Kafka topic with four partitions and a running application is consuming the messages actively from the topic. To provide the best performance, the order of consuming messages from the different partitions are handled by Kafka internally. Now say you are expecting more load on specific window where you will be expected to enable horizontal autoscaling for your api. Also, your api is maintaining order on the events to deal with CURD operations. π€― How it can be achieved? π€π€ You can't travel on multiple boats at the same time πbut Kafka can handle processing of multiple events at the same timeπ
. This article provides the understanding on how to handle CURD operation events in parallel processing with Kafka as streaming platform. π Exciting isn'...