Class CloudEventsAttributes
- java.lang.Object
-
- io.streamthoughts.azkarra.runtime.interceptors.monitoring.ce.CloudEventsAttributes
-
- Direct Known Subclasses:
CloudEventsBuilder
public class CloudEventsAttributes extends Object
This class describes the required attributes for streams events, following CloudEvents Specification.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
dataContentType
Content type of data value.protected String
id
Identifies the event.protected String
source
Identifies the context in which an event happened.protected String
specVersion
The version of the CloudEvents specification which the event uses.protected ZonedDateTime
time
Timestamp of when the occurrence happened.protected String
type
This attribute contains a value describing the type of event related to the originating occurrence.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
dataContentType()
boolean
equals(Object o)
int
hashCode()
String
id()
String
source()
String
specVersion()
ZonedDateTime
time()
String
toString()
String
type()
-
-
-
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.
-
-