apache – Kafka streams scalling

I have microservice which is deployed in kubernetes enviroment. In this microservice i have started kafka streams and i want to scale this MS by scaling kafka streams which is running in this MS.
To scale MS i have deployed one more pod of this MS in kubernetes enviroment but when i scaled one more pod of this MS. The request are reciving at only one of the kafka streams pod’s.

Note :- Kafka stream id is same for both pod’s

To scale MS i increased pod in kubernetes enviroment but the stream which is running in these pod’s is consuming in any one pods only. the other pod’s kafka stream is connected but not consuming.

Read more here: Source link