Logstash group authorization error in Kafka Input

Does the python code use exactly the same settings for ssl and kerberos?