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

Connect cluster url in target namespace #2

Open
murthy95 opened this issue Dec 26, 2022 · 1 comment
Open

Connect cluster url in target namespace #2

murthy95 opened this issue Dec 26, 2022 · 1 comment
Labels
question Further information is requested

Comments

@murthy95
Copy link

In mm2 yaml file you have mentioned the target cluster connect config as target kafka cluster bootstrap server

spec:
  version: 2.8.0
  replicas: 1
  # The cluster alias for Kafka Connect
  connectCluster: "my-target-cluster"
  clusters:
 - alias: "my-target-cluster"
    bootstrapServers: event-bus-kafka-bootstrap.strimzi-migration.svc:9092
    authentication: 
      type: scram-sha-512
      username: admin-user-scram
      passwordSecret:
        secretName: admin-user-scram
        password: password      
    config:

My question is connect cluster alias should point to a Kafka Connect cluster right since mm2 is abstracted on kafka connect.

I am unable to understand how kafkaconnect should be specified here.

@rmarting
Copy link
Owner

Hi @murthy95!

MM2 deploys its own Kafka Connect cluster for the different MM2 Kafka Connectors.

The 'KafkaMirrorMaker2' CR describes the name of the KafkaConnect cluster created for the MM2 deployment, and the ' alias' block defines the different Kafka clusters used to create the different workflows.

The ' mirrors' block defines the different workflows and uses the Kafka cluster aliases to connect to them. So, the connections are not done by the KafkaConnect cluster, the connections are done by the MM2 KafkaConnectors deployed in that Kafka Connect cluster.

You could have more details about MM2 Architecture here and here.

HTH

@rmarting rmarting added the question Further information is requested label Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants