Connection Apache Kafka
Required parameters
For connect Prafka Desktop to Apache Kafka, you must specify two mandatory parameters:
- Name - used to identify the selected connection
- Bootstrap server - corresponds to the kafka client parameter
bootstrap.servers
Authentication
Authentication can be configured in two ways:
- using the block "Authentication method" by selecting SASL or SSL
- using the block "Additional parameters"
If the block "Authentication method" does not suit you, then use the block "Additional parameters"
SASL
When choosing SASL as the authentication method, the following kafka client parameters are set:
security.protocolis equal to the value of the field "Security Protocol"sasl.mechanismis equal to the value of the field "SASL mechanism"sasl.jaas.configis generated based on the values of the fields "SASL mechanism", "User" and "Password"
SSL
When selecting SSL as the authentication method, the following kafka client parameters are set:
security.protocolis equal to SSLssl.keystore.locationif filledssl.keystore.passwordif filledssl.key.passwordif filledssl.truststore.locationif filledssl.truststore.passwordif filled
Additional parameters
You can use any kafka client parameters specified in https://kafka.apache.org/documentation/#adminclientconfigs
Format key=value
The parameters specified in this block will have a higher priority than the parameters specified in the previous blocks.
After configuring the connection Prafka Desktop to Apache Kafka, you can proceed to configuring the connection to Schema Registry or Kafka Connect.
📄️ Schema Registry
Connection Schema Registry
📄️ Kafka Connect
Connection Kafka Connect