This is the backend part of the Kafka plugin. It responds to Kafka requests from the frontend.
This configures how to connect to the brokers in your Kafka cluster.
The name of the client to use when connecting to the cluster.
A list of the brokers' host names and ports to connect to.
Configure TLS connection to the Kafka cluster. The options are passed directly
to [tls.connect] and used to create the TLS secure context. Normally these
would include key
and cert
.
Example:
kafka:
clientId: backstage
clusters:
- name: prod
brokers:
- localhost:9092
Configure SASL authentication for the Kafka client.
kafka:
clientId: backstage
clusters:
- name: prod
brokers:
- my-cluster:9092
ssl: true
sasl:
mechanism: plain # or 'scram-sha-256' or 'scram-sha-512'
username: my-username
password: my-password
If you are using ACLs on Kafka, you will need to have the DESCRIBE
ACL on both consumer groups and topics.