You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I've tried update bind-address of broker to bind another interface but no luck, maybe it related to listener option?. is there any workaround for it?
./kafka-mesos.sh broker update 0 --bind-address a.b.c.d
./kafka-mesos.sh broker restart 0
In broker logs ...."syslog":false,"log4jOptions":{},"bindAddress":"a.b.c.d","defaults":{"listeners":"PLAINTEXT://x.y.z.d:31000","broker.id":"0","log.dirs":"kafka-logs","port":"31000"....}}
a.b.c.d and z.y.z.d are two diffrent IPs (sorry for hiding IP), a.b.c.d is IP which I want to listening.
Thanks
The text was updated successfully, but these errors were encountered:
I think this is related to #286 ? But I'm not sure.
Do you actually want to bind to a certain interface? Or do you just want to advertise a different IP than is being listened on?
Also, what version are you running? The use of bind-address on kafka 0.9.0+ was fixed recently in #197 (and #259).
EDIT: To add, the log you pasted in is only the config defaults, the listeners are transformed on broker launch if a bind address is set (see [1], [2]). You can validate the actual parameters passed to the broker by looking at the actual kafka logs, it'll write the config out when it starts.
Hi,
I've tried update bind-address of broker to bind another interface but no luck, maybe it related to listener option?. is there any workaround for it?
./kafka-mesos.sh broker update 0 --bind-address a.b.c.d
./kafka-mesos.sh broker restart 0
In broker logs
...."syslog":false,"log4jOptions":{},"bindAddress":"a.b.c.d","defaults":{"listeners":"PLAINTEXT://x.y.z.d:31000","broker.id":"0","log.dirs":"kafka-logs","port":"31000"....}}
a.b.c.d and z.y.z.d are two diffrent IPs (sorry for hiding IP), a.b.c.d is IP which I want to listening.
Thanks
The text was updated successfully, but these errors were encountered: