Is this 0.8? If so, the broker list is only used for retrieving metadata.
The producer then connects to the broker using the returned metadata info.
The hostname in the metadata depends on the OS setting for the host (seehttps://cwiki.apache.org/confluence/display/KAFKA/FAQ#FAQ-OnEC2%2Cwhycan%27tmyhighlevelconsumersconnecttothebrokers%3F
On Tue, Jul 23, 2013 at 8:43 PM, yanbo.ai <[EMAIL PROTECTED]> wrote: