@Override
  public int hashCode() {
    return Objects.hash(timestamp, exceptionType, exceptionMessage, compactExceptionStackTrace, mdcMap);
  }
This class encapsulates information related to an exception event that is useful for diagnostics.
samza-core/src/main/scala/org/apache/samza/diagnostics/DiagnosticsExceptionEvent.java