While hostname is useful to direct traffic via Zookeeper to specific hostname/IP it does not cause Kafka to only listen on that IP. It will still bind to all interfaces on the box.
I guess the solution is to firewall it for now... On Thu, Dec 13, 2012 at 10:16 PM, Jun Rao <[email protected]> wrote: > In 0.7, you can set hostname in the broker config. > > Thanks, > > Jun > > On Thu, Dec 13, 2012 at 11:50 AM, Matan Amir <[email protected]> wrote: > > > Hi All, > > > > I've scanned the code a little (0.7.2) but couldn't find a parameter to > > force the broker to bind to a specific network interface rather than > listen > > on all. Was this added to 0.8? I was hoping for something like ZK's > > clientPortAddress configuration parameter. > > > > Cheers, > > Matan > > >
