Registry / messaging / cloudevents-api

cloudevents-api

JSON →
library4.0.2javamavenunverified

Java SDK for the CloudEvents specification.

<dependency> <groupId>io.cloudevents</groupId> <artifactId>cloudevents-api</artifactId> <version>4.0.2</version> </dependency>
INSTALL
IMPORT
SIG · CLOUDEVENTS-API
C
cloudevents-api
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

Build a CloudEvent using the builder.

import io.cloudevents.CloudEvent; import io.cloudevents.core.builder.CloudEventBuilder; public class Example { public static void main(String[] args) { CloudEvent event = CloudEventBuilder.v1() .withId("123") .withSource("//source") .withType("example.event") .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
34 hits · last 30 days
node
30
Amazon
1
OpenAI (training)
1
Resources
cloudevents-api — mvn dependency:get cloudevents-api · libregistry