Class CloudEventsAttributes

  • Direct Known Subclasses:
    CloudEventsBuilder

    public class CloudEventsAttributes
    extends Object
    This class describes the required attributes for streams events, following CloudEvents Specification.
    • Field Detail

      • id

        protected String id
        Identifies the event.
      • source

        protected String source
        Identifies the context in which an event happened.
      • specVersion

        protected String specVersion
        The version of the CloudEvents specification which the event uses.
      • type

        protected String type
        This attribute contains a value describing the type of event related to the originating occurrence.
      • time

        protected ZonedDateTime time
        Timestamp of when the occurrence happened.
      • dataContentType

        protected String dataContentType
        Content type of data value.