Duplicacy in tranquility-kafka and replication of historical


I have two instances for druid.My first machine has all services(broker, middle manager, historical node,overlord and tranquility-kafka) running and second machine has only middle manager, historical node,overlord and tranquility-kafka.

  1. As I am running two tranquality-kafka instances,I get duplicate data. My Kafka has three partition so does it has any impact of the same as I haven’t defined partition number in both machines configurations. Below is configurations and cant see any option in druid documentation for the same.

  2. Does the broker running on one machine can check the replication factor and my query will return data from one historical not instead of merging from both ?

tranquility configuration