I am running Apache MirrorMaker 3.0.0 with active-active strategy on two Kafka clusters (named DC, DR). So topic on DC is replicated by MirrorMaker2 as DC.<topic_name> on the DR cluster and vice-vera.
Use case: Produced 20 records in DC cluster topic named: notification-test1 and consumed all 20 records from same cluster so lag is 0 and records are flushed due to retention period (i have set retention period to 10 min). After that i have started DR cluster and kafka MirrorMaker2.
Expectation:
Current-Offset : 0 (because Initial 20 records are flushed due to retention period. With delta difference, cluster1 21th record is equivalent to 1st record of cluster2 )
Log_end_offset : 0 (same reason)
Lag : 0
Observation :
Current-Offset : 20 (Not expected)
Log_end_offset : 0
Lag : -20 ( 0 - 20 ) Lag is negative
screenshot:
Kindly suggest if i have missed anything.
Thanks in advance..!!
