0
How to stop the other instance of application to consume the same kafka message which is already consumed by different instance?
Already used partitions but still the message is consumed by both instances of an application
1 Odpowiedź
+ 2
Durga
If your Kafka message is being consumed by multiple instances of the same application despite using partitions, it usually indicates an issue with your configuration. Try to ensure all the consumers are in the same consumer group. Also ensure the proper load balancing. In addition validate the number of partitions that are equal to the number of consumers so it does not consumes the different instance messages. Kafka ensures that each partition's messages are consumed by only one consumer within the same consumer group.
I hope this helps resolve your issue. Happy coding.