@Override public String toString() {
      return "SharedKey{id=" + id + ", endpoint=" + endpoint + "}";
    }
A span in the tree is not always unique on ID. Sharing is allowed once per ID (Ex: in RPC).
However, it is possible in a retry scenario for accidental duplicate ID sharing to occur
zipkin/src/main/java/zipkin2/internal/SpanNode.java