Skip to main content
Version: v1.7.0

Installation

Maven Central

EventMesh SDK for Java is a collection of Java libraries to integrate EventMesh in a Java application. The SDK supports sending and receiving synchronous messages, asynchronous messages, and broadcast messages in TCP, HTTP, and gRPC protocols. The SDK implements EventMesh Message, CloudEvents, and OpenMessaging formats. The demo project is available in the eventmesh-example module.

Gradle

To install EventMesh SDK for Java with Gradle, declare org.apache.eventmesh:eventmesh-sdk-java as implementation in the dependencies block of the module's build.gradle file.

dependencies {
implementation 'org.apache.eventmesh:eventmesh-sdk-java:1.4.0'
}

Maven

To install EventMesh SDK for Java with Maven, declare org.apache.eventmesh:eventmesh-sdk-java as a dependency in the dependencies block of the project's pom.xml file.

<dependencies>
<dependency>
<groupId>org.apache.eventmesh</groupId>
<artifactId>eventmesh-sdk-java</artifactId>
<version>1.4.0</version>
</dependency>
</dependencies>