Browse Source
As described in the JIRA ticket, when `listeners=PLAINTEXT://0.0.0.0:9092` (note the 0.0.0.0 "bind all interfaces" IP address) and `advertised.listeners` is not specified it defaults to `listeners`, but it makes no sense to advertise 0.0.0.0 as it's not a routable IP address. This patch checks for a 0.0.0.0 host in `advertised.listeners` (whether via default or not) and fails with a meaningful error if it's found. This contribution is my original work and I license the work to the project under the project's open source license. Author: Tom Bentley <tbentley@redhat.com> Reviewers: Manikumar Reddy <manikumar.reddy@gmail.com>, Ismael Juma <ismael@juma.me.uk> Closes #3382 from tombentley/advertised.listenerspull/3582/merge
Tom Bentley
7 years ago
committed by
Ismael Juma
2 changed files with 14 additions and 2 deletions
Loading…
Reference in new issue