MongoDB Sink Document Id Strategy

I am trying to deploy a MongoDB Sink and I can find no description about the strategies used for generating document Ids. Could anyone shed some light on this?

You’ve probably already seen this, but here’s a link to a page on the MongoDB site that discusses this topic.

Also, here’s a link to a discussion on using the Kafka event key as the document id in Mongo.

If you’re still stuck, please post back here.


Amazing, thank you so much. I didn’t even consider that there could be documentation from MongoDB about this.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.