def ==(other)
      other.instance_of?(self.class) && other.event_id.eql?(event_id) && other.data.eql?(data) &&
        other.metadata.eql?(metadata) && other.event_type.eql?(event_type) && other.timestamp.eql?(timestamp) &&
        other.valid_at.eql?(valid_at)
    end