Re: Duplicate vertex issue with Uniqueness constraints | Janusgraph CQL
Your code mirrors the example at https://docs.janusgraph.org/advanced-topics/eventual-consistency/#data-consistency for the greatest part. Are you sure the changes on graphMgmt get committed?
Also, how do you know about "duplicate vertex creation" when "it returns only 1 record"?
Best wishes, Marc
PS. Most of the software community reserves names starting with a verb to functions and class methods. Violating this convention (e.g. PropertyKey makePropertyKey) makes your code almost unreadable to others.