Method poll in MirrorMaker 2.0

Good Afternoon!

I am working with MM2 now. I made improvements in the code MM2 to implement active-active replication without aliases but in one case MM2 can’t replicate consumer groups with my improvements.
As far as I understand, class MirrorCheckpointTask is responsible for replication consumer groups and this class contains method poll with which records are uploaded from another cluster.
I noticed that this method indirectly related with method poll in MirrorSourceTask but it’s too difficult to find correlation these two methods. I tried to use functionality IntellijIdea (ctrl+name of method, method call hierarchy), stackrtrace in Java but all to no avail.
How to see correlation these 2 methods (method poll in MirrorSourceTask, method poll in MirrorCheckpointTask) to resolve my problem?

1 Like