librdkafka访问集群

场景
        必须要修改hosts主机域名,文件目录是C:\Windows\System32\drivers\etc,不能单独添加一台设备对应的域名信息,必须是完整的集群列表
例如
# localhost name resolution is handled within DNS itself.
# 127.0.0.1       localhost
# ::1             localhost
11.66.44.66.142 bigdata5
11.66.44.66.143 bigdata6
11.66.44.66.145 bigdata7
11.66.44.66.190 bigdata8
11.66.44.66.191 bigdata9
11.66.44.66.192 bigdata10

猜你喜欢

转载自blog.51cto.com/fengyuzaitu/2546804
今日推荐