Yolean/kubernetes-kafka

Outside Service Dynamic When we Scale/Increase the pods

userguy opened this issue · 1 comments

Now as per current scenario,

I have to create outside service , if i increase the broker from 3 to 10 or 5 , Is there any dynamic way to create outside service as soon as we apply increase the replica .

Can we add outside service to 50kafka.yml

I think the current init.sh will assign unique port numbers for up to ten replicas, right? So what you're asking is how to generate the Services for each pod? I'd say it's a quite trivial templating task. And you can keep the services there even if you scale down again. The bootstrap procedure will tell clients which brokers to connect to based on current cluster topology.