Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.nats-io:nats-streaming-server:'
}
dependencies {
implementation("com.github.nats-io:nats-streaming-server:")
}
<dependency>
<groupId>com.github.nats-io</groupId>
<artifactId>nats-streaming-server</artifactId>
<version></version>
</dependency>
libraryDependencies += "com.github.nats-io" % "nats-streaming-server" % ""
:dependencies [[com.github.nats-io/nats-streaming-server ""]]
NATS Streaming is an extremely performant, lightweight reliable streaming platform built on NATS.
The NATS Streaming Server is being deprecated. Critical bug fixes and security fixes will be applied until June of 2023. NATS enabled applications requiring persistence should use JetStream.
You can find here the list of NATS Streaming clients supported by Synadia. There are also links to community-contributed clients.
If you are interested in contributing to NATS, read about our...
If you've found a vulnerability or a potential vulnerability in the NATS server, please let us know at nats-security.
Unless otherwise noted, the NATS source files are distributed under the Apache Version 2.0 license found in the LICENSE file.