The following Java versions and platforms are tested using GitHub workflows:
The following platforms are tested using the Fizzed, Inc. build system:
Utilities and framework integrations for Java 11+ and NATS.io -- includes an integration of NATS with the Ninja Framework.
<dependency>
<groupId>com.fizzed</groupId>
<artifactId>nats-core</artifactId>
<version>VERSION-HERE</version>
</dependency>
Browse the utilities in https://github.com/fizzed/nats-plus/tree/master/nats-core/src/main/java/com/fizzed/nats/core
Ninja Framework module for NATS. Will help provide a connection, etc.
Add the nats-ninja-module dependency to your Maven pom.xml
<dependency>
<groupId>com.fizzed</groupId>
<artifactId>nats-ninja-module</artifactId>
<version>VERSION-HERE</version>
</dependency>
In your conf/Module.java
file:
package conf;
import com.fizzed.nats.ninja.NinjaNatsModule;
import com.google.inject.AbstractModule;
public class Module extends AbstractModule {
@Override
protected void configure() {
install(new NinjaNatsModule());
}
}
In your conf/application.conf
file:
#
# nats
#
nats.url = nats://localhost:14222
nats.username = root
nats.password = test
nats.connection_name = nats-demo
Testing this library with other nats.java versions:
mvn -Dnats.java.version=2.19.1 test
mvn -Dnats.java.version=2.20.5-SNAPSHOT test
Copyright (C) 2025 Fizzed, Inc.
This work is licensed under the Apache License, Version 2.0. See LICENSE for details.