Skip to content

Commit c9336ed

Browse files
committed
added note about client connections and ports
1 parent b6f3c60 commit c9336ed

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/modules/kafka/pages/usage-guide/security.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,14 @@ spec:
155155

156156
NOTE: When Kerberos is enabled it is also required to enable TLS for maximum security.
157157

158+
==== Clients
159+
160+
In order to keep client configuration as uncluttered as possible, each kerberized Kafka broker has two principals: one for the broker itself and one for the bootstrap service.
161+
The client can connect to the bootstrap service, which returns the broker quorum for use in subsequent operations.
162+
This is transparent as each connection dynamically uses the relevant principal (broker or bootstrap).
163+
In order for this to work it is necessary for kerberized clusters to define an extra kafka listener for the bootstrap, with a corresponding service (and port).
164+
The bootstrap address is written to the discovery ConfigMap, using the Stackable bootstrap listener with the port being either 9094 (non-secure) or 9095 (secure) for kerberized clusters, and 9092 (non-secure) or 9093 (secure) for non-kerberized ones.
165+
158166
== [[authorization]]Authorization
159167

160168
If you wish to include integration with xref:opa:index.adoc[Open Policy Agent] and already have an OPA cluster, then you can include an `opa` field pointing to the OPA cluster discovery `ConfigMap` and the required package.

0 commit comments

Comments
 (0)