Created
May 21, 2020 18:25
-
-
Save duglin/39578372ffc923f52a432238d56d628a to your computer and use it in GitHub Desktop.
CE Java SDK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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