StephenSorriaux / ansible-kafka-admin

Manage your topic's configuration (partitions, replication factor, parameters), ACLs, quotas, users and get stats, without any effort with this library. It does not use the Kafka scripts and does not require ssh connection to the remote broker.
Apache License 2.0
150 stars 46 forks source link

[Module] Unable to use ssl one way with zookeeper #115

Closed gitdaruom closed 3 years ago

gitdaruom commented 3 years ago

Expected Behavior

Zk clients should be able to communicate with zookeeper in TLS when zookeeper is not configured to require a client certificate (zookeeper configuration ssl.clientAuth=none)

Actual Behavior

It is not possible to communicate with zookeeper if no cert/key are configured in client side. (refer to variable zookeeper_use_ssl)

Play to Reproduce the Problem

ZK configured in TLS without requiring client certificate

Logs from the play with Ansible in debug mode

"Something went wrong: ZookeeperBroken does not take keyword arguments"

Specifications