var event =
CloudEventBuilder.v1()
.withId(UUID.randomUUID().toString())
.withType(payloadDataType)
.withSource(URI.create("/origin-source"))
.withTime(OffsetDateTime.now())
.withExtension("partitionkey", keyValue)
.withData(payloadInBytes)
.build();
Last active
January 16, 2022 12:12
CloudEvents payload format
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment