11clusters :
22 - name : cluster_1
33 hosts :
4- - replicator-kafka-1:9092
5- - replicator-kafka-1:9092
4+ # - replicator-kafka-1:9092
5+ # - replicator-kafka-1:9092
66 - kafka_replicator_replicator_kafka_1_1:9092
77 - name : cluster_2
88 hosts :
99 - kafka_replicator_replicator_kafka_2_1:9092
10- - replicator-kafka-2:9092
10+ # - replicator-kafka-2:9092
1111
1212clients :
1313 - client : cl_1_client_1
@@ -19,14 +19,17 @@ clients:
1919 cluster : cluster_2
2020
2121routes :
22- - upstream_client : cl_1_client_1
23- downstream_client : cl_1_client_1
24- upstream_topics :
22+ - upstream_client : cl_1_client_1 # Required: source client name from clients section
23+ downstream_client : cl_1_client_1 # Required: target client name from clients section
24+ upstream_topics : # Required: source topics
2525 - ' topic1'
26- downstream_topic : ' topic2'
26+ downstream_topic : ' topic2' # Required: target topics
2727 repartitioning_strategy : random # strict_p2p | random
28- upstream_group_id : group_22
29- progress_every_secs : 10
28+ upstream_group_id : group_22 # Option: upstream consumer group id
29+ show_progress_interval_secs : 2 # Optional: interval between console output
30+ update_metrics_interval_secs : 1 # Optional: interval between prometheus metrics updates
31+ upstream_poll_interval_ms : 200 # Optional: interval between upstream poll calls
32+ name : route_name # Optional:
3033 limits :
3134 messages_per_sec : 10000
3235 number_of_messages :
@@ -38,7 +41,7 @@ routes:
3841 downstream_topic : ' topic2'
3942 repartitioning_strategy : random # strict_p2p | random
4043 upstream_group_id : group_22
41- progress_every_secs : 10
44+ show_progress_interval_secs : 10
4245
4346 - upstream_client : cl_2_client_1
4447 downstream_client : cl_1_client_1
@@ -48,25 +51,31 @@ routes:
4851 repartitioning_strategy : strict_p2p # strict_p2p | random
4952 default_begin_offset : earliest # optional
5053 upstream_group_id : group_2
51- progress_every_secs : 10
54+ show_progress_interval_secs : 10
5255
5356
5457observers :
5558 - client : cl_1_client_1
56- name : " my name"
59+ name : " Observer name"
60+ group_id : group_22
5761 topics :
5862 - ' topic1'
59- - ' topic2'
60- fetch_timeout_secs : 5
61- show_progress_every_secs : 10
63+ # - 'topic2'
64+ fetch_timeout_secs : 5 # default: 5
65+ fetch_interval_secs : 60 # default:
66+ show_progress_interval_secs : 10 # default: 60
6267
6368 - client : cl_2_client_1
64- topic : ' topic3 '
69+ # group_id: group_2
6570 topics :
6671 - ' topic2'
67- show_progress_every_secs : 5
68-
72+ show_progress_interval_secsy : 20
6973
7074 - client : cl_1_client_1
71- topic : ' topic1'
72- topics : []
75+ topics : [] # process all topics
76+
77+ prometheus :
78+ # namespace: "app:observer:" # custom prometheus metrics prefix
79+ labels :
80+ label_key : label_value
81+ env : prod
0 commit comments