Thanks Jun and David.

I think the FAQ mentions why it's not possible to connect to broker from
outside. In my case, all servers (producers and brokers) are in the same
VPC. Call to InetAddress.getLocalHost.getHostAddress should return an
internal IP to which producers should be able to connect. The issue seems
to be that the call to InetAddress.getLocalHost.getHostAddress returns
and that too on just 1 broker. Any ideas on why that could be happening?

I can configure property in broker config but its slightly
painful. I am curious to know what can cause
to return loopback addresses like localhost.localdomain so that other users
know why they really have to setup in EC2 even if both producers
and consumers are in same VPC.
On 3 October 2013 19:56, Jun Rao <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB