title: how to change Kafka broker list ip
body: <p>I have 3 Kafka brokers running in a isolated network region, my client can not connect them directly, so I have to use a VIP(virtual ip) to connect the brokers. </p>
  
  <p>For example: </p>
  
  <p>my brokers' IP are: <code>10.5.1.5, 10.5.1.6, 10.5.1.7</code>,</p>
  
  <p>my VIPs' ip are: <code>200.100.1.5, 200.100.1.6, 200.100.1.7</code>, they one to one paired.</p>
  
  <p>So when I indicate the bootstrap list as <code>200.100.1.5</code>, the cluster response me the mixed VIPs and Broker ips, such as: <code>10.5.1.5, 10.5.1.6, 200.100.1.5, 200.100.1.6 ...</code>, then the connection failed, because my program can not reach broker's ip, only can reach VIPs.</p>
  
  <p>My current configuration as following, it responses both IP and VIP:</p>
  
  <pre><code>listeners=INTERNAL://:9092,EXTERNAL_PLAINTEXT://:8080
  
  advertised.listeners=EXTERNAL_PLAINTEXT://200.100.1.5:8080,INTERNAL://10.5.1.5:9092
  
  listener.security.protocol.map=INTERNAL:PLAINTEXT,EXTERNAL_PLAINTEXT:PLAINTEXT
  
  inter.broker.listener.name=INTERNAL
  </code></pre>
  
  <p>How can I let Kafka only response the VIP list please.</p>
  
  <p>I've got the answer, it could be the following:</p>
  
  <pre><code>advertised.listeners=PLAINTEXT://200.100.1.5:8080
  listeners=PLAINTEXT://10.5.1.5:9092
  And remove the listener.security and inter.broker.
  </code></pre>