This topic describes Java SDK version information, including the download link, release time, and updates, so that you can obtain the applicable Java SDK to send and subscribe to messages as needed.

ons-client v1.8.4.Final

Date Version Download Download (including Exactly-once delivery semantics)
2019-09-27 1.8.4.Final ons-client-1.8.4.Final ons-client-ext-1.8.4.Final

New features

  • Supported JDK 1.6.
  • Supported asynchronous resending.
  • Supported synchronous resending upon busy brokers.

ons-client v1.8.0.Final

Date Version Download Download (including Exactly-once delivery semantics)
2019-02-21 1.8.0.Final ons-client-1.8.0.Final ons-client-ext-1.8.0.Final

Bugs fixed

  • Fixed the auto retry logic when a message failed to be synchronized from the producer to a new topic on an instance after instantiation of Message Queue for Apache RocketMQ is implemented. A maximum of three retries is supported by default.

ons-client v1.7.8.Final

Date Version Download
2018-07-06 1.7.8.Final ons-client-1.7.8.Final

New features

  • Supported dynamic Security token service (STS) token updates.

Bugs fixed

  • Changed the default size of a single log file from 1 GB to 64 MB.
  • Fixed the problem of double printing logs.

Earlier versions

ons-client v1.7.7.Final

Date Version Download
2018-04-25 1.7.7.Final ons-client-1.7.7.Final

Bugs fixed

  • Fixed the problem in version 1.7.5 or 1.7.6 that trajectorial messages cannot be sent when multiple consumer or producer instances are initialized in one process.

ons-client v1.7.6.Final

Date Version Download
2018-04-04 1.7.6.Final ons-client-1.7.6.Final

New features

  • The client is compatible with any log framework.

Bugs fixed

  • Provided support for Log4j2.
  • Fixed the problem that the client is abnormally shut down when fetching name servers.
  • Upgraded the Fastjson version to 1.2.48.

ons-client v1.7.5.Final

Date Version Download
2018-03-23 1.7.5.Final ons-client-1.7.5.Final

Bugs fixed

  • Fixed the problem of introducing internal dependencies of Alibaba.

ons-client v1.7.4.Final

Date Version Download
2018-03-02 1.7.4.Final ons-client-1.7.4.Final

New features

  • Supported STS token access.
  • Prioritized trajectorial message transmission. Such messages are sent to the Message Queue for Apache RocketMQ broker of the current cluster in priority by default.

Bugs fixed

  • Fixed the JDK 1.6 incompatibility problem.

ons-client v1.7.2.Final

Date Version Download
2018-01-25 1.7.2.Final ons-client-1.7.2.Final

New features

  • Supported encrypted transmission of the AccessKeyID and AccessKeySecret signature in the Enterprise Platinum Edition, improving data security.
  • Supported SQL attribute filtering for consumers in the Enterprise Platinum Edition, greatly improving the efficiency of message subscription.
  • Enabled the client to be automatically perceptive of name server changes, facilitating O&M switching and ensuring high availability.
  • Added the function of reporting the exact version of a newly connected client.

ons-client v1.7.1.Final

Date Version Download
2017-12-19 1.7.1.Final ons-client-1.7.1.Final

New features

  • Added an asynchronous sending interface for customizing callback thread pool.
  • Added a JVM -D parameter to the asynchronous sending interface, which is used to control the number of threads in the public thread pool: Dclient.callback.executor.thread.nums=10.

Bugs fixed

  • Fixed the problem that the cache count in SendBack is not deducted when consumer consumption times out.
  • Fixed the problem of the premature release of the consumer asynchronous semaphores.

ons-client v1.7.0.Final

Date Version Download
2017-10-23 1.7.0.Final ons-client-1.7.0.Final

New features

  • Adjusted the client message cache policies in two dimensions: number of messages and cache size.

Function optimization

  • Optimized ProducerName of the built-in trace module of the client to apply different values to different users.

Bugs fixed

  • Fixed the problem that a client trace thread blocks the client from exiting normally.
  • Fixed the problem that the message trace ShutDownHook is created repetitively.

ons-client v1.6.1.Final

Date Version Download
2017-08-31 1.6.1.Final ons-client-1.6.1.Final

Function optimization

  • Added detailed Java documentation for all client interfaces.
  • Optimized the mode for obtaining client addresses, to make it independent on the hostname configuration in /etc/hosts.

ons-client v1.6.0.Final

Date Version Download
2017-07-31 1.6.0.Final ons-client-1.6.0.Final

New features

  • Shaded the client at the source code level to ensure correct debugging.
  • Exposed message attributes BornHost and BornTimestamp.
  • Added the BatchConsumer interface to allow users to consume messages in batches.
  • Added the demo for calling BatchConsumer to consume ordered messages in batches through Spring configuration.

Function optimization

  • Placed the shard key in the message structure for partitionally ordered messages.
  • Supported integer values for message attribute settings.

What to do next

Prepare the environment