Allow overriding the public kafka broker naming scheme
Related to T2593.
Test Plan
octocatalog-diff on kafka1:
*** Running octocatalog-diff on host kafka1.internal.softwareheritage.org
I, [2020-09-15T11:26:26.456581 #33534] INFO -- : Catalogs compiled for kafka1.internal.softwareheritage.org
I, [2020-09-15T11:26:26.669886 #33534] INFO -- : Diffs computed for kafka1.internal.softwareheritage.org
diff origin/production/kafka1.internal.softwareheritage.org current/kafka1.internal.softwareheritage.org
*******************************************
File[/opt/kafka/config/server.properties] =>
parameters =>
content =>
@@ -4,5 +4,5 @@
# See: http://kafka.apache.org/documentation.html#brokerconfigs for more details
#
-advertised.listeners=INTERNAL_PLAINTEXT://kafka1.internal.softwareheritage.org:9092,INTERNAL://kafka1.internal.softwareheritage.org:9094,EXTERNAL://kafka1.softwareheritage.org:9093
+advertised.listeners=INTERNAL_PLAINTEXT://kafka1.internal.softwareheritage.org:9092,INTERNAL://kafka1.internal.softwareheritage.org:9094,EXTERNAL://broker1.journal.softwareheritage.org:9093
broker.id=1
inter.broker.listener.name=INTERNAL_PLAINTEXT
*******************************************
*** End octocatalog-diff on kafka1.internal.softwareheritage.org
Migrated from D3950 (view on Phabricator)