Copy collection's existing data in mongo-kafka connector

Hi everyone.
mogno-kafka source connector copy already existing data into another topic :
my connector configs:
topic prefix: mongo
db: kafkalab
collection: box

when my connector is running, it copy my data to the
but when my mongo-kafka connector container is not running and I insert data to the collection, next time
I run the mongo-kafka container , it copy new existing collection’s data docs to the kafka topic!

1 Like