Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue Connecting Cruise Control to Kafka (v2.13-3.6.1) in KRaft Mode with SASL Authentication #2198

Open
rakhat1607 opened this issue Sep 12, 2024 · 0 comments

Comments

@rakhat1607
Copy link

We are experiencing a problem connecting Cruise Control to Kafka version 2.13-3.6.1 running in KRaft mode (without ZooKeeper) using SASL authentication.
Logs Kafka:
Sep 12 11:34:18 ip-10-249-10-248.eu-north-1.compute.internal kafka-server-start.sh[8188]: [2024-09-12 11:34:18,874] INFO [SocketServer listenerType=BROKER, nodeId=0] Failed authentication with /10.249.10.248 (channelId=10.249.10.248:9092-10.249.10.248:40306-151) (Unexpected Kafka request of type METADATA during SASL handshake.) (org.apache.kafka.common.network.Selector)
Logs CruiseControle

[2024-09-12 11:34:02,979] INFO [AdminClient clientId=adminclient-1] Node -1 disconnected. (org.apache.kafka.clients.NetworkClient)
[2024-09-12 11:34:02,980] INFO [AdminClient clientId=adminclient-1] Cancelled in-flight METADATA request with correlation id 9 due to node -1 being disconnected (elapsed time since creation: 302ms, elapsed time since send: 302ms, request timeout: 177368ms) (org.apache.kafka.clients.NetworkClient)

configs cruisecontrol.properties :

# The zookeeper connect of the Kafka cluster
#zookeeper.connect=localhost:2181/

# If true, appropriate zookeeper Client { .. } entry required in jaas file located at $base_dir/config/cruise_control_jaas.conf
zookeeper.security.enabled=true

kafka.broker.failure.detection.enable=true

configs cruise_control_jaas.conf:

KafkaClient {
    org.apache.kafka.common.security.plain.PlainLoginModule required
    username="username"
    password="password";
};

If additional data is needed, I am ready to send it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant