Re: About bootstrap.servers

2016-03-03 Thread Jason Gustafson
Oh, one more thing. There has actually been some discussion about making broker discovery pluggable so that you can integrate with frameworks like etcd and consul. If we go down that route, it might make sense to provide a plugin for Zookeeper, although I think you'd still want to keep the client f

Re: About bootstrap.servers

2016-03-03 Thread Jason Gustafson
Hi Tian, Removing the client dependence on Zookeeper has been one of the main goals of the Kafka team for a while now. It simplifies client development since it's one less dependence and one less remote system they have to manage interaction with. It also makes a lot of sense with the security fea

About bootstrap.servers

2016-03-01 Thread 田守枝
Hi All: I want to known why use "bootstrap.servers" to establish the initial connection to the Kafka cluster when I initialize a Producer or Consumer? Why not let producer or consumer connect to the zookeeper to get the broker's ip and port? I think this is one way to decouple the clien