Java SDK for CloudEvents
Go to file
Pierangelo Di Pilato 569e025cf0
Fix javadoc build (#529) (#534)
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
2023-03-06 18:25:53 +01:00
.github Fix javadoc build (#529) (#534) 2023-03-06 18:25:53 +01:00
.mvn/wrapper Add Maven wrapper (#144) 2020-04-29 18:21:22 +02:00
amqp Bump to 2.5.0-SNAPSHOT (#474) 2022-09-06 15:52:34 +02:00
api Initial Implementation of XML Format (#448) 2023-01-10 09:48:36 +01:00
benchmarks Bump to 2.5.0-SNAPSHOT (#474) 2022-09-06 15:52:34 +02:00
bom Bump to 2.5.0-SNAPSHOT (#474) 2022-09-06 15:52:34 +02:00
core Switch default branch to main (#506) 2023-01-12 19:03:51 +01:00
docs Bump activesupport from 6.0.6 to 6.0.6.1 in /docs (#517) 2023-02-20 08:42:50 +01:00
examples [#521] Remove unused imports (#522) 2023-02-20 18:06:28 +01:00
formats Fixed Protobuf data corruption for CloudEvent serialized/deserialized several times (#524) 2023-02-27 11:48:07 +01:00
http [#521] Remove unused imports (#522) 2023-02-20 18:06:28 +01:00
kafka Switch default branch to main (#506) 2023-01-12 19:03:51 +01:00
spring Use UTF-8 when using getBytes (#491) 2023-01-05 18:01:14 +01:00
sql Bump to 2.5.0-SNAPSHOT (#474) 2022-09-06 15:52:34 +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 Switch default branch to main (#506) 2023-01-12 19:03:51 +01:00
README.md Switch default branch to main (#506) 2023-01-12 19:03:51 +01: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 Fix javadoc build (#529) (#534) 2023-03-06 18:25:53 +01: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.