Class CloudEventsContext
- java.lang.Object
-
- io.streamthoughts.azkarra.runtime.interceptors.monitoring.ce.CloudEventsContext
-
public final class CloudEventsContext extends Object
This class is used to wrap information about a Cloud Events in the context of Kafka Streams.
-
-
Constructor Summary
Constructors Constructor Description CloudEventsContext(String applicationId, String applicationServer, String clusterId)
Creates a newCloudEventsContext
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
applicationId()
String
applicationServer()
String
cloudEventId(ZonedDateTime now)
String
cloudEventSource()
String
cloudEventSubject()
boolean
equals(Object o)
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
CloudEventsContext
public CloudEventsContext(String applicationId, String applicationServer, String clusterId)
Creates a newCloudEventsContext
instance.- Parameters:
applicationId
- the application-id.applicationServer
- the application-server.clusterId
- the kafka cluster-id.
-
-