Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

That will return the ListenerName used by the connection. For example, with the following configuration:

Code Block
listener.security.protocol.map=CLIENT:SASL_PLAINTEXT,REPLICATION:PLAINTEXT,INTERNAL_SASL:SASL_PLAINTEXT

...


advertised.listeners=CLIENT://cluster1.foo.com:9092,REPLICATION://broker1.replication.local:9093,INTERNAL_SASL://broker1.local:9094

...


listeners=CLIENT://192.1.1.8:9092,REPLICATION://10.1.1.5:9093,INTERNAL_SASL://10.1.1.5:9094


For a client connecting to:

...