Maybe a stupid question ... but if you just want to create a setup with 3 zookeepers and 3 brokers on a single machine you just need to use different port numbers. You do not need separate network interfaces. What are you trying to achieve with the different network interfaces?
Regards Jakub On Tue, Jan 16, 2018 at 3:14 AM, 猪少爷 <zhurongjie0...@foxmail.com> wrote: > hi guys, > I have a linux(Centos7) that have four network interface, and > i'm tryying to build a pseudo-cluster in this machine. > Four cards correspond to four ip(101, 104,105,106), > and three brokers config : > listeners=xxx.xxx.xxx.104:9090. > listeners=xxx.xxx.xxx.105:9091. > listeners=xxx.xxx.xxx.106:9092. > three zookeepers: zk1---xxx.104:2181, zk2---xxx:105:2182, > zk3---xxx.106:2183. > > > run zks first, then run in right. > run kafka broker, then run in right. > > > produce data to this to this pseudo-cluster...Trouble is coming: > > > sar -n DEV 1: > network-101-- IO(0-1000Mbps) > network-104-- IO(0-10Kbps) > network-105-- IO(0-10kbps) > network-106-- IO(0-10Kbps) > lo---IO(0-1000Mbps) > > > When production data throughput reaches 1000 Mbps, reproduction fails,Then > unplug the network cable of 101. continue: > > > sar -n DEV 1: > network-101-- IO(0bps) > network-104-- IO(0-10Kbps) > network-105-- IO(0-10kbps) > network-106-- IO(0-1000Mbps) > lo---IO(0-1000Mbps) > > > > what happens, and why?? > Would you like to give me some advice, guys? > > > Urgent, online and so on