Facing issue while deploying Kafka MirrorMaker2 with TLS passthrough across clusters #11616
Replies: 5 comments 3 replies
-
If you get ACL errors, you should certainly fix them in the first place. From what I remember from our docs and examples, MM2 needs quite a lot of ACL rights. I definitely remember more various rules than what your user has. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the suggestion let me summaries the scenarios strimzi version : 0.46.0 we are using k8s gatewayApi to connect these two kafka clusters Scenario 1: We are using plaintext and kafka listener 9094 is being used but it is exposed as a clusterIP ( connectivity through the gatewayApi ) MM2 Configuration
kafkauser configuration
While using plaintext communication with above configuration its working fine. MM2 is able to mirror topics and messages from source kafka cluster to target kafka cluster And we didn't face any ACL issue. Scenario 2:We are using TLS and for this kafka listener 9093 is configured ( clusterIP ) kafka configuration
MM2 Configuration
logs of broker
Please let me know if any configuration update is required and if you can share kafka TLS user example that is to be used? |
Beta Was this translation helpful? Give feedback.
-
Thanks For the suggestion and apologies for bad format ..
At User level we are giving ACL rights below is the kafkauser configuration Note: Below is the similar ACL permissions for NON-TLS kafka user ( authentication: type: scram-sha-512 ) is working but when we use the same acl rules for kafka TLS-USER we are getting ACL'S Error in broker. Kafakuser configuration
Can you please look once and check this configuration if this configuration looks ok .Please share your suggestions/insights for this configuration and if we need any other additional configuration while using kafka TLS user. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thank You so much as per your suggestion we successfully resolved ACL issue by giving proper ACL rights to kafkauser. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
We are deploying Kafka MirrorMaker2 using Strimzi to mirror data from an active Kafka cluster to a passive Kafka cluster, running in two separate Kubernetes environments.
We have enabled TLS passthrough at the gateway level, and communication between clusters is over the Kafka internal port 9093.
🧩 Environment
Strimzi version: 0.46.0
Kafka version: 4.0.0
KafkaMirrorMaker2 configuration:
KafkaUser
Problem:
MirrorMaker2 pod fails to become ready. We see errors such as:
Pod Events:
MirrorMaker2 Logs
Broker logs are
❓Questions / Request
Could this be due to missing ACLs for connect-cluster-* internal topics that MirrorMaker2 tries to create or describe?
Does MM2 require any additional internal topics ACLs that are not documented in Strimzi examples?
Could the readiness probe failure be due to MM2 not becoming healthy because of the timeout in offset retrieval?
Beta Was this translation helpful? Give feedback.
All reactions