Can I use Mongo atlas Kafka source connector with sharded cluster

Hi All,

We have mongo db sharded cluster. Now we want to send data from mongo db (sharded cluster) to kafka topics.

Can you please tell me if we can use “mongo db atlas kafka source connector” with sharded cluster or not ?
If yes, can you please tell me that how to get data from each shard? Do we need to connect “mongo kafka source connector” with each shard?

our mongo db cluster is like below:- we have 4 shard
shard 1 (for one region , let say India)
shard 2 (for one region , let say Japan)
shard 3 (for one region , let say us)
shard 4 (for one region , let say uk)

1 Like