MirrorMaker2 with event hub as source and target #5649
Unanswered
MaayanFarchi
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I think it should work, but I'm not sure anyone ever tried it. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there,
I know it's possible to create mirror between kafka and eventhub and the other way around.
I was wondering if it is possible to create mirror between two different event hubs?
and if so will the following configuration be correct?
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaMirrorMaker2
metadata:
name: my-mm2-cluster-from-eh
spec:
version: 2.7.0
replicas: 1
connectCluster: "dest-eventhub"
clusters:
- alias: "source-eventhub"
bootstrapServers: myehkafkasource11516.servicebus.windows.net:9093
config:
config.storage.replication.factor: 1
offset.storage.replication.factor: 1
status.storage.replication.factor: 1
consumer.connections.max.idle.ms: 180000
consumer.metadata.max.age.ms: 180000
authentication:
type: plain
username: $ConnectionString
passwordSecret:
secretName: sourceeventhubssecret
password: sourceeventhubspassword
- alias: "dest-eventhub"
bootstrapServers: myehkafkadest26776.servicebus.windows.net:9093
config:
config.storage.replication.factor: 1
offset.storage.replication.factor: 1
status.storage.replication.factor: 1
consumer.connections.max.idle.ms: 180000
consumer.metadata.max.age.ms: 180000
authentication:
type: plain
username: $ConnectionString
passwordSecret:
secretName: desteventhubssecret
password: desteventhubspassword
tls:
trustedCertificates: []
mirrors:
- sourceCluster: "source-eventhub"
targetCluster: "dest-eventhub"
sourceConnector:
config:
replication.factor: 1
offset-syncs.topic.replication.factor: 1
sync.topic.acls.enabled: "false"
heartbeatConnector:
config:
heartbeats.topic.replication.factor: 1
checkpointConnector:
config:
checkpoints.topic.replication.factor: 1
topicsPattern: "."
groupsPattern: "."
Beta Was this translation helpful? Give feedback.
All reactions