Re: Broker bind address versus published hostname in ZooKeeper

2013-10-28 Thread Roger Hoover
OK. I've submitted a patch along with unit tests. This change is backward compatible with two new optional parameters called advertise.host.name and advertise.port. The reason I called them that instead of zkHost.name and zkHost.port is that the zkHost.* names sound like they represent the host

Re: Broker bind address versus published hostname in ZooKeeper

2013-10-25 Thread Roger Hoover
Ok. I'm working on it. On Thu, Oct 24, 2013 at 10:02 AM, Timothy Chen wrote: > Hi Folks/Roger, > > Unfortunately I don't have legal clearance to contribute patches yet back > to Kafka for code done at work, so Roger it will be great if you can > provide this patch. > > Thanks! > > Tim > > > >

Re: Broker bind address versus published hostname in ZooKeeper

2013-10-24 Thread Timothy Chen
Hi Folks/Roger, Unfortunately I don't have legal clearance to contribute patches yet back to Kafka for code done at work, so Roger it will be great if you can provide this patch. Thanks! Tim On Mon, Oct 21, 2013 at 11:17 AM, Roger Hoover wrote: > Agreed. Tim, it would be very helpful is yo

Re: Broker bind address versus published hostname in ZooKeeper

2013-10-21 Thread Roger Hoover
Agreed. Tim, it would be very helpful is you could provide a patch. Otherwise, I may be willing to create one. On Thu, Oct 17, 2013 at 8:15 PM, Jun Rao wrote: > Tim, > > This seems like a reasonable requirement. Would you be interested in > providing a patch to the jira? > > Thanks, > > Jun >

Re: Broker bind address versus published hostname in ZooKeeper

2013-10-17 Thread Jun Rao
Tim, This seems like a reasonable requirement. Would you be interested in providing a patch to the jira? Thanks, Jun On Thu, Oct 17, 2013 at 3:20 PM, Timothy Chen wrote: > Hi Roger, > > That's exactly what I need in my end, and actually internally created a new > property called zkHost.name

Re: Broker bind address versus published hostname in ZooKeeper

2013-10-17 Thread Timothy Chen
Hi Roger, That's exactly what I need in my end, and actually internally created a new property called zkHost.name to publish a different host to zk. This is also needed for deploying Kafka into Azure. I also created zkHost.port since the internal and external ports that's exposed might be differe

Broker bind address versus published hostname in ZooKeeper

2013-10-17 Thread Roger Hoover
Hi all, I'm getting started experimenting with Kafka and ran into a configuration issue. Currently, in server.properties, you can configure host.name which gets used for two purposes: 1) to bind the socket 2) to publish the broker details to ZK for clients to use. There are times when these two