Skip to content

Commit

Permalink
Merge 4520fd5 into fb8d380
Browse files Browse the repository at this point in the history
  • Loading branch information
sasbury committed May 10, 2019
2 parents fb8d380 + 4520fd5 commit 5c8733b
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .travis/deploying.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Deploying

See the java-nats repo for instructions on deploying.
See the nats.java repo for instructions on deploying.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## Version 2.1.6

* [Changed] - Updates for repo rename

## Version 2.1.5

* [Changed] - Updates for renames related to NATS server and its repo.
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
A [Java](http://java.com) client for the [NATS streaming platform](https://nats.io).

[![License Apache 2.0](https://img.shields.io/badge/License-Apache2-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
[![Build Status](https://travis-ci.org/nats-io/java-nats-streaming.svg?branch=master)](http://travis-ci.org/nats-io/java-nats-streaming?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/nats-io/java-nats-streaming/badge.svg?branch=master)](https://coveralls.io/github/nats-io/java-nats-streaming?branch=master)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.nats/java-nats-streaming/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.nats/java-nats-streaming)
[![Javadoc](http://javadoc.io/badge/io.nats/java-nats-streaming.svg)](http://javadoc.io/doc/io.nats/java-nats-streaming)
[![Build Status](https://travis-ci.org/nats-io/stan.java.svg?branch=master)](http://travis-ci.org/nats-io/stan.java?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/nats-io/stan.java/badge.svg?branch=master)](https://coveralls.io/github/nats-io/stan.java?branch=master)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.nats/stan.java/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.nats/stan.java)
[![Javadoc](http://javadoc.io/badge/io.nats/stan.java.svg)](http://javadoc.io/doc/io.nats/java-nats-streaming)

## A Note on Versions

This is version 2.1.5 of the Java NATS streaming library. This version is a port to version 2.x of the Java NATS library and contains breaking changes due to the way the underlying library handles exceptions, especially timeouts.
This is version 2.1.5 of the Java NATS streaming library. This version is a port to version 2.x of the Java NATS library and contains breaking changes due to the way the underlying library handles exceptions, especially timeouts. For 2.1.6 we are renaming this repo to stan.java.

As of 2.1.5 the NATS server is undergoing a rename, as are the NATS repositories.
As of 2.1.6 the NATS server is undergoing a rename, as are the NATS repositories.

The new version minimizes threads. Only one thread is used for all callbacks, by relying on a dispatcher in the underlying NATS connection. If you want to deliver in multiple threads, you can use multiple StreamingConnections on the same underlying NATS connection. This reduces total thread usage while allowing callbacks to work independently. See [Sharing A NATS Connection](#sharing-a-nats-connection).

Expand All @@ -28,17 +28,17 @@ The nats streaming client requires two jar files to run, the java nats library a

### Downloading the Jar

You can download the latest NATS client jar at [https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.1.5/jnats-2.1.5.jar](https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.1.5/jnats-2.1.5.jar).
You can download the latest NATS client jar at [https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.4.6/jnats-2.4.6.jar](https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.4.6/jnats-2.4.6.jar).

You can download the latest java nats streaming jar at [https://search.maven.org/remotecontent?filepath=io/nats/java-nats-streaming/2.1.5/java-nats-streaming-2.1.5.jar](https://search.maven.org/remotecontent?filepath=io/nats/java-nats-streaming/2.1.5/java-nats-streaming-2.1.5.jar).
You can download the latest java nats streaming jar at [https://search.maven.org/remotecontent?filepath=io/nats/java-nats-streaming/2.1.6/java-nats-streaming-2.1.6.jar](https://search.maven.org/remotecontent?filepath=io/nats/java-nats-streaming/2.1.6/java-nats-streaming-2.1.6.jar).

### Using Gradle

The NATS client is available in the Maven central repository, and can be imported as a standard dependency in your `build.gradle` file:

```groovy
dependencies {
implementation 'io.nats:java-nats-streaming:2.1.5'
implementation 'io.nats:java-nats-streaming:2.1.6'
}
```

Expand All @@ -64,7 +64,7 @@ The NATS client is available on the Maven central repository, and can be importe
<dependency>
<groupId>io.nats</groupId>
<artifactId>java-nats-streaming</artifactId>
<version>2.1.5</version>
<version>2.1.6</version>
</dependency>
```

Expand Down Expand Up @@ -362,8 +362,8 @@ Subscription sub2 = sc.subscribe("foo", mcb2,
The build depends on Gradle, and contains `gradlew` to simplify the process. After cloning, you can build the repository and run the tests with a single command:
```bash
> git clone https://github.com/nats-io/java-nats-streaming.git
> cd java-nats-streaming
> git clone https://github.com/nats-io/stan.java.git
> cd stan.java
> ./gradlew build
```
Expand Down
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ plugins {
// Update version here, repeated check-ins not into master will have snapshot on them
def versionMajor = 2
def versionMinor = 1
def versionPatch = 5
def versionPatch = 6
def versionModifier = ""
def jarVersion = "2.1.5"
def jarVersion = "2.1.6"
def branch = System.getenv("TRAVIS_BRANCH");

def getVersionName = { ->
Expand Down Expand Up @@ -209,8 +209,8 @@ uploadArchives {
pom.project {
name 'jnats'
packaging 'jar'
description 'Client library for working with the NATS messaging system.'
url 'https://github.com/nats-io/java-nats'
description 'Client library for working with the NATS streaming system.'
url 'https://github.com/nats-io/stan.java'
licenses {
license {
name = 'The Apache License, Version 2.0'
Expand All @@ -226,7 +226,7 @@ uploadArchives {
}
}
scm {
url = 'https://github.com/nats-io/java-nats'
url = 'https://github.com/nats-io/jstan.java'
}
}
}
Expand Down

0 comments on commit 5c8733b

Please sign in to comment.