[KAFKA-94] ID strategy for UUID string that exists in current document Created: 06/Apr/20  Updated: 19/Jun/20  Resolved: 19/Jun/20

Status: Closed
Project: Kafka Connector
Component/s: Sink
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Pat W Assignee: Ross Lawley
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates KAFKA-101 Support UUID in value strategy Closed

 Description   

Hello,

In the course of my work I needed an _id strategy that takes a string _id and turns it into a UUID, I created some code that does this and I'm forwarding it along in case it's helpful to anyone else:

I included tests also,

https://github.com/mongodb/mongo-kafka/pull/10

 

Thanks,

-Pat


Generated at Thu Feb 08 09:05:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.