Registry / messaging / cloudevents-core

cloudevents-core

JSON →
library4.0.2javamavenunverified

CloudEvents SDK for Java providing core interfaces and data structures for CloudEvents.

<dependency> <groupId>io.cloudevents</groupId> <artifactId>cloudevents-core</artifactId> <version>4.0.2</version> </dependency>
INSTALL
IMPORT
SIG · CLOUDEVENTS-CORE
C
cloudevents-core
messagingjavav4.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CloudEvent
io.cloudevents.CloudEvent

Builds and prints a CloudEvent.

import io.cloudevents.CloudEvent; import io.cloudevents.core.builder.CloudEventBuilder; public class Main { public static void main(String[] args) { CloudEvent event = CloudEventBuilder.v1() .withId("123") .withSource("//source") .withType("example") .build(); System.out.println(event.getId()); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.0.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
24
Resources
cloudevents-core — mvn dependency:get cloudevents-core · libregistry