Java SDK
Interact with Diffusion from within your Java application using our most fully-featured client library. Synchronous and asynchronous APIs for topic subscription, publishing, and messaging as well as advanced server management features.
Quick Links
Installation from Maven Central
Our Java client is published on Maven central for easy installation.
Maven
<dependency>
<groupId>com.diffusiondata.diffusion</groupId>
<artifactId>diffusion-client</artifactId>
<version>6.12.0</version>
</dependency>Gradle
compile 'com.diffusiondata.diffusion:diffusion-client:6.12.0'Installation from DiffusionData repository
If you do not wish to use Maven central, we also provide our own Maven repository.
Note
When using our Maven repository, packages are published with the groupId com.pushtechnology.diffusion, for legacy reasons.
Maven
<repositories>
<repository>
<id>push-repository</id>
<url>https://download.diffusiondata.com/maven/</url>
</repository>
</repositories><dependency>
<groupId>com.pushtechnology.diffusion</groupId>
<artifactId>diffusion-client</artifactId>
<version>6.12.0</version>
</dependency>Gradle
repositories {
maven {
url "https://download.diffusiondata.com/maven/"
}
}compile 'com.pushtechnology.diffusion:diffusion-client:6.12.0'Bundled version
The artifactId diffusion-client-with-dependencies can be used in place of diffusion-client in the previous examples. This version of the SDK includes all of its dependencies bundled into a single JAR file.
Alternatively, download the client JAR directly using the links above.