Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CE Java SDK
interface CloudEvent {
...
String getSubject();
ZonedDateTime getTime();
Map<String, Object> getExtensions();
Object getExtension(key);
T/Object get(key); // used for spec attrs and extensions
}
interface CloudEventBuilder {
}
interface CloudEventReader {
Map<String, Object> getExtensions();
Map<String, Object> getAttributes(); // Just spec defined attributes
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment