Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Multiple Pod Replicas Connecting to the same Kafka Topic and Group?
I have an app that I’ve deployed to a Kubernetes cluster, the app connects to a Kafka instance and reads messages from 1 specific group and 1 topic.
I want to have this a bit more resistant and I want to increase the number of replicas in Kubernetes and set it to 3 or 5 for example.
But I’m not sure if this is going to be OK for the Kafka messages.. has anyone done this before and did you have any issues having multiple pod replicas connecting to the same Kafka topic?
Any suggestions would be appreciated!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×