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
The Stackable Operator for Apache Kafka publishes a discovery https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#configmap-v1-core[`ConfigMap`], which exposes a client configuration bundle that allows access to the Apache Kafka cluster.
8
+
9
+
The bundle includes a thrift connection string to access the Kafka broker service. This string may be used by other operators or tools to configure their products with access to Kafka. This is limited to internal cluster access.
10
+
11
+
== Example
12
+
13
+
Given the following Kafka cluster:
14
+
15
+
[source,yaml,subs="normal,callouts"]
16
+
----
17
+
apiVersion: kafka.stackable.tech/v1alpha1
18
+
kind: KafkaCluster
19
+
metadata:
20
+
name: {clusterName} # <1>
21
+
namespace: {namespace} # <2>
22
+
spec:
23
+
[...]
24
+
----
25
+
<1> The name of the Kafka cluster, which is also the name of the created discovery `ConfigMap`.
26
+
<2> The namespace of the discovery `ConfigMap`.
27
+
28
+
The resulting discovery `ConfigMap` is `{namespace}/{clusterName}`.
29
+
30
+
== Contents
31
+
32
+
The `{namespace}/{clusterName}` discovery `ConfigMap` contains the following fields where `{clusterName}` represents the name and `{namespace}` the namespace of the cluster:
33
+
34
+
`KAFKA`::
35
+
====
36
+
Contains the thrift protocol connection string for the Kafka cluster:
0 commit comments