Uploaded image for project: 'Kafka Connector'
  1. Kafka Connector
  2. KAFKA-94

ID strategy for UUID string that exists in current document

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sink
    • None

      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

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            patwakeem@gmail.com Pat W
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: