CloudEvents - CDI

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

License

License

GroupId

GroupId

io.cloudevents
ArtifactId

ArtifactId

cdi
Last Version

Last Version

1.3.0
Release Date

Release Date

Type

Type

jar
Description

Description

CloudEvents - CDI
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Download cdi

How to add to project

<!-- https://jarcasting.com/artifacts/io.cloudevents/cdi/ -->
<dependency>
    <groupId>io.cloudevents</groupId>
    <artifactId>cdi</artifactId>
    <version>1.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.cloudevents/cdi/
implementation 'io.cloudevents:cdi:1.3.0'
// https://jarcasting.com/artifacts/io.cloudevents/cdi/
implementation ("io.cloudevents:cdi:1.3.0")
'io.cloudevents:cdi:jar:1.3.0'
<dependency org="io.cloudevents" name="cdi" rev="1.3.0">
  <artifact name="cdi" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.cloudevents', module='cdi', version='1.3.0')
)
libraryDependencies += "io.cloudevents" % "cdi" % "1.3.0"
[io.cloudevents/cdi "1.3.0"]

Dependencies

provided (2)

Group / Artifact Type Version
javax : javaee-api jar 8.0
io.cloudevents : cloudevents-api jar 1.3.0

test (6)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-core jar 2.19.0
org.jboss.arquillian.junit : arquillian-junit-container jar
org.jboss.arquillian.container : arquillian-weld-ee-embedded-1.1 jar 1.0.0.Final
org.jboss.weld : weld-core jar 2.3.5.Final
org.assertj : assertj-core jar 3.6.1

Project Modules

There are no modules declared in this project.

Java SDK for CloudEvents API

License Maven Central Javadocs

A Java API for the CloudEvents specification

Look at https://cloudevents.github.io/sdk-java/ for more documentation.

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 ✔️ ✔️
JSON Event Format ✔️ ✔️
- Jackson ✔️ ✔️
Kafka Protocol Binding ✔️ ✔️
MQTT Protocol Binding
NATS Protocol Binding
Web hook

Motivation

The CloudEvents specification is a vendor-neutral specification for defining the format of event data that is being exchanged between different cloud systems. The specification basically defines an abstract envelope for any event data payload, without knowing specific implementation details of the actual underlying event. The current version of the spec is at 1.0 and it describes a simple event format, which was demonstrated at KubeCon 2018 using different Serverless platforms, such as Apache Openwhisk.

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
Occurrent

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.

io.cloudevents

CloudEvents

CloudEvents

Versions

Version
1.3.0
1.2.0
1.1.0
1.0.0
0.3.1
0.3.0
0.2.1
0.2.0