Using Connect-standalone in Kafka with Kerberos cluster

Kafka Connect is a tool for scalably and reliably streaming data between Apache Kafka and other systems. It can also be used in secured Kafka environment. In Kerberixed Kafka installation also you can use the Kafka Connect utilities. 
You just have to provide the Java security config and Kerberos config as parameters to connect utils. 
Below command shows how can you specify the security properties to the
The command assumes that you are in the Kafka installation directory.


Here the kafka-jass.config should specify the file path which contains the KafkaClient properties like below.

  KafkaClient { required

And the krb5.conf should detail about the KDC server property. Sample shown below.
 renew_lifetime = 7d
 forwardable = true
 default_realm =
 ticket_lifetime = 24h
 dns_lookup_realm = false
 dns_lookup_kdc = false
 default_ccache_name = /tmp/krb5cc_%{uid}
 #default_tgs_enctypes = aes des3-cbc-sha1 rc4 des-cbc-md5
 #default_tkt_enctypes = aes des3-cbc-sha1 rc4 des-cbc-md5

 [realms] = {
 master_kdc =
 admin_server =
 kdc =
If above command does not work of if Kafka connect is not able to use the kerberos config, then update the file to pass these security parameters to exec command at the end ""


Popular posts from this blog

How to flash CWM Recovery to Samsung Galaxy SL( GT-I9003) using Odin

Exception handling with RestTemplate

Warning : Hardcoded string "str", should use @string resource