Interface Record<T>

  • Type Parameters:
    T - the type of the payload

    public interface Record<T>
    Represents a record containing the destination name and a payload of a generic type.
    • Method Detail

      • getMetadata

        Metadata getMetadata()
        Retrieves the metadata associated with this record.
        Returns:
        the metadata of the record
      • getPayload

        T getPayload()
        Retrieves the payload of this record.
        Returns:
        the payload of the record