查看ip：

```bash
[root@l-xxx kafka_2.11-2.1.0]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.116.128.86  netmask 255.255.255.0  broadcast 10.116.128.255
        ether 52:54:00:da:3f:1d  txqueuelen 1000  (Ethernet)
        RX packets 4215801568  bytes 5141461559966 (4.6 TiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1336377479  bytes 737775697356 (687.1 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
```



kafka 配置：

```bash
listeners=PLAINTEXT://0.0.0.0:9092
advertised.listeners=PLAINTEXT://10.116.128.86:9092
```

