Hi Alex, I use Kafka within Hortonworks HDP stack and din't find anything in Kafka configuration marking a broker as bootstrap. I also nothing for bootstrap configuration in API I use. Onlly Zookeeper(s) or broker(s).
What do I loose if I use Zookeeper in producer configuration? On Tue, May 31, 2016 at 5:03 PM, Alex Loddengaard <a...@confluent.io> wrote: > Hi Igor, a change in the number of brokers generally doesn't require > configuration or code changes in producers and consumers. You will need to > change bootstrap.servers if its original value no longer contains an active > broker. > > Alex > > On Tue, May 31, 2016 at 12:44 PM, Igor Kravzov <igork.ine...@gmail.com> > wrote: > > > What if number of brokers change? Does it mean I need to change > > configuration or potentially recompile my producer and consumer? > > > > On Tue, May 31, 2016 at 3:27 PM, Alex Loddengaard <a...@confluent.io> > > wrote: > > > > > The "old" consumer used ZooKeeper. The "new" consumer, introduced in > 0.9, > > > doesn't use ZooKeeper. The producer doesn't use ZooKeeper, either. > > However, > > > brokers still use ZooKeeper. > > > > > > Alex > > > > > > On Tue, May 31, 2016 at 12:03 PM, Igor Kravzov <igork.ine...@gmail.com > > > > > wrote: > > > > > > > When I look at code samples producers mostly write to brokers and > > > consumers > > > > use Zookeeper to consume from topics. > > > > > > > > Using Microsoft .net client ( > > > > https://github.com/Microsoft/CSharpClient-for-Kafka) I wrote > producer > > > > witch uses Zookeeper and was able to write data successfully. > > > > > > > > Am I missing something if I use Zookeeper in producer? > > > > > > > > > >