Java SDK for CloudEvents
Go to file
dependabot[bot] 43f0d5b138
Bump nokogiri from 1.16.5 to 1.18.3 in /docs (#685)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.16.5 to 1.18.3.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/v1.18.3/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.16.5...v1.18.3)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-12 08:18:56 +01:00
.github Allow bumping versions in `/docs` only (#648) 2024-07-01 17:24:48 +02:00
.mvn/wrapper Add Maven wrapper (#144) 2020-04-29 18:21:22 +02:00
amqp Bump org.apache.qpid:proton-j from 0.33.7 to 0.34.1 (#678) 2024-11-20 13:13:12 +01:00
api Bump to 4.1.0-SNAPSHOT (#645) 2024-07-01 12:10:47 +02:00
benchmarks Bump org.apache.maven.plugins:maven-install-plugin from 2.5.1 to 3.1.3 (#664) 2024-10-02 19:48:09 +02:00
bom Fix cloudevents-sql artifactId in bom (#669) 2024-10-02 19:47:43 +02:00
core fix: disallow empty 'subject' context attribute (#679) 2024-11-04 09:53:36 +01:00
docs Bump nokogiri from 1.16.5 to 1.18.3 in /docs (#685) 2025-03-12 08:18:56 +01:00
examples Bump io.projectreactor:reactor-core from 3.5.1 to 3.6.11 (#677) 2024-10-30 06:47:37 +01:00
formats fix: disallow empty 'subject' context attribute (#679) 2024-11-04 09:53:36 +01:00
http Bump org.apache.maven.plugins:maven-antrun-plugin from 3.0.0 to 3.1.0 (#682) 2025-01-27 10:03:16 +01:00
kafka Bump org.apache.kafka:kafka-clients from 3.0.0 to 3.7.1 in /kafka (#681) 2024-11-20 13:12:46 +01:00
rocketmq Bump org.apache.rocketmq:rocketmq-client-java from 5.0.4 to 5.0.7 (#653) 2024-07-03 14:48:32 +02:00
spring Bump to 4.1.0-SNAPSHOT (#645) 2024-07-01 12:10:47 +02:00
sql Bump to 4.1.0-SNAPSHOT (#645) 2024-07-01 12:10:47 +02:00
.editorconfig Added editorconfig check during the verify phase (#239) 2020-09-28 10:00:21 +02:00
.gitignore Restful-ws jakarta ee9 namespace support (#469) 2022-09-27 09:16:03 +02:00
CONTRIBUTING.md Switch default branch to main (#506) 2023-01-12 19:03:51 +01:00
LICENSE Formatted code and added copyright headers (#140) 2020-04-28 13:56:06 +02:00
MAINTAINERS.md Align SDK governance docs (#590) 2023-09-28 09:29:59 +02:00
MAINTAINERS_GUIDE.md Align SDK governance docs (#590) 2023-09-28 09:29:59 +02:00
README.md Add link to CloudEvent security mailing list (#599) 2023-10-16 15:26:53 +02:00
RELEASING.md Align SDK governance docs (#590) 2023-09-28 09:29:59 +02:00
mvnw Add Maven wrapper (#144) 2020-04-29 18:21:22 +02:00
mvnw.cmd Add Maven wrapper (#144) 2020-04-29 18:21:22 +02:00
pom.xml Bump to 4.1.0-SNAPSHOT (#645) 2024-07-01 12:10:47 +02:00

README.md

Java SDK for CloudEvents API

License Maven Central Javadocs

The Java SDK for CloudEvents is a collection of Java packages to adopt CloudEvents in your Java application.

Using the Java SDK you can:

  • Access, create and manipulate CloudEvent inside your application.
  • Serialize and deserialize CloudEvent back and forth using the CloudEvents Event Format, like Json.
  • Read and write CloudEvent back and forth to HTTP, Kafka, AMQP using the CloudEvents Protocol Binding implementations we provide for a wide range of well known Java frameworks/libraries.

To check out the complete documentation and how to get started, look at the dedicated website https://cloudevents.github.io/sdk-java/.

Status

This SDK is considered work in progress. The community is working hard to bring you a new major version of the SDK with major enhancements both to APIs and to implementation.

If you want to know more about v1 of this SDK, check out the v1 readme

Stay tuned!

Supported features of the specification:

v0.3 v1.0
CloudEvents Core ✔️ ✔️
AMQP Protocol Binding
- Proton ✔️ ✔️
AVRO Event Format
HTTP Protocol Binding ✔️ ✔️
- Vert.x ✔️ ✔️
- Jakarta Restful WS ✔️ ✔️
- Basic ✔️ ✔️
- Spring ✔️ ✔️
- http4k ✔️ ✔️
JSON Event Format ✔️ ✔️
- Jackson ✔️ ✔️
Protobuf Event Format ✔️ ✔️
- Proto ✔️ ✔️
Kafka Protocol Binding ✔️ ✔️
MQTT Protocol Binding
NATS Protocol Binding
Web hook

† Source/artifacts hosted externally

Documentation

Documentation is available at https://cloudevents.github.io/sdk-java/.

Javadocs are available on javadoc.io:

You can check out the examples in the examples directory.

Used By

Occurrent Knative Eventing http4k
Occurrent http4k

Community

Each SDK may have its own unique processes, tooling and guidelines, common governance related material can be found in the CloudEvents community directory. In particular, in there you will find information concerning how SDK projects are managed, guidelines for how PR reviews and approval, and our Code of Conduct information.

If there is a security concern with one of the CloudEvents specifications, or with one of the project's SDKs, please send an email to cncf-cloudevents-security@lists.cncf.io.

Additional SDK Resources