You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.5 KiB
38 lines
1.5 KiB
5 years ago
|
# Licensed to the Apache Software Foundation (ASF) under A or more
|
||
|
# contributor license agreements. See the NOTICE file distributed with
|
||
|
# this work for additional information regarding copyright ownership.
|
||
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
||
|
# (the "License"); you may not use this file except in compliance with
|
||
|
# the License. You may obtain a copy of the License at
|
||
|
#
|
||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||
|
#
|
||
|
# Unless required by applicable law or agreed to in writing, software
|
||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
# See the License for the specific language governing permissions and
|
||
|
# limitations under the License.
|
||
|
# see org.apache.kafka.clients.consumer.ConsumerConfig for more details
|
||
|
|
||
|
# Sample MirrorMaker 2.0 top-level configuration file
|
||
|
# Run with ./bin/connect-mirror-maker.sh connect-mirror-maker.properties
|
||
|
|
||
|
# specify any number of cluster aliases
|
||
|
clusters = A, B, C
|
||
|
|
||
|
# connection information for each cluster
|
||
|
A.bootstrap.servers = A_host1:9092, A_host2:9092, A_host3:9092
|
||
|
B.bootstrap.servers = B_host1:9092, B_host2:9092, B_host3:9092
|
||
|
C.bootstrap.servers = C_host1:9092, C_host2:9092, C_host3:9092
|
||
|
|
||
|
# enable and configure individual replication flows
|
||
|
A->B.enabled = true
|
||
|
A->B.topics = foo-.*
|
||
|
B->C.enabled = true
|
||
|
B->C.topics = bar-.*
|
||
|
|
||
|
# customize as needed
|
||
|
# replication.policy.separator = _
|
||
|
# sync.topic.acls.enabled = false
|
||
|
# emit.heartbeats.interval.seconds = 5
|