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
标签:文件目录,bigdata711.66,librdkafka,44.66,访问,域名,集群,localhost 来源: https://blog.51cto.com/fengyuzaitu/2546804