ID strategy for UUID string that exists in current document

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sink
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Lawley
              Reporter:
              Pat W
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: