Closed sourjya123 closed 5 years ago
Hi @sourjya123! Short answer NO. Somewhat longer answer: you are referring to the ID strategy and thus the triplet is needed to ensure uniqueness based on Kafka coordinates. Topic alone wouldn't make much sense since you would only be able to insert 1 document into the collection per kafka topic.
Hi I have used kafkametadatastrategy for storing kafka key to mongo. But it stores topic+partitionId+offset.
Can we store the topic only instead of all this information?