in data-prepper-plugins/service-map-stateful/src/main/java/com/amazon/dataprepper/plugins/prepper/ServiceMapRelationship.java [146:155]
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ServiceMapRelationship that = (ServiceMapRelationship) o;
return Objects.equals(serviceName, that.serviceName) &&
Objects.equals(kind, that.kind) &&
Objects.equals(destination, that.destination) &&
Objects.equals(target, that.target) &&
Objects.equals(traceGroupName, that.traceGroupName);
}