This topic describes the download links, release date, and updates of each version of Message Queue for Apache RocketMQ SDK for Java. This helps you choose an appropriate version of SDK for Java to send and subscribe to messages based on your business needs.

ons-client v1.8.7.2.Final

Release date Version Download link Download link (including Exactly-once delivery semantics)
2020-12-03 1.8.7.2.Final ons-client-1.8.7.2.Final ons-client-ext-1.8.7.2.Final

New features

ons-client v1.8.7.1.Final

Release date Version Download link Download link (including Exactly-once delivery semantics)
2020-07-09 1.8.7.1.Final ons-client-1.8.7.1.Final ons-client-ext-1.8.7.1.Final

New features

  • The Ordered Message 2.0 feature is supported by Enterprise Platinum Edition instances. This feature provides globally ordered messages that are highly available and scalable and partitionally ordered messages that support secondary hash.
  • The use methods of instances that have separate namespaces and that have no separate namespaces are unified.

Optimized features

  • The retry logic upon failure and the server circuit breaking are optimized. This way, service availability can be improved and the impacts caused by service upgrades, Elastic Compute Service (ECS) downtime, and virtual IP address (VIP) jitter on your business can be reduced.

ons-client v1.8.5.Final

Release date Version Download link Download link (including Exactly-once delivery semantics)
2020-05-10 1.8.5.Final ons-client-1.8.5.Final ons-client-ext-1.8.5.Final

New features

  • The pull mode is added.
    Notice To use the pull mode, make sure that the type of your Message Queue for Apache RocketMQ instance is Enterprise Platinum Edition.

ons-client v1.8.4.Final

Release date Version Download link Download link (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

  • JDK 1.6 is supported.
  • Asynchronous resending is supported.
  • Synchronous resending is supported upon busy brokers.

ons-client v1.8.0.Final

Release date Version Download link Download link (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

Bugfixes

  • The automatic retry logic (three retries by default) is fixed. This logic is applicable to scenarios where a message fails to be synchronously sent from a producer to a topic in an instance.

ons-client v1.7.8.Final

Release date Version Download link
2018-07-06 1.7.8.Final ons-client-1.7.8.Final

New features

  • Security Token Service (STS) tokens can be dynamically renewed.

Bugfixes

  • The default size of a single log file is changed from 1 GB to 64 MB.
  • The problem of printing logs twice is fixed.

Earlier versions

ons-client v1.7.7.Final

Release date Version Download link
2018-04-25 1.7.7.Final ons-client-1.7.7.Final

Bugfixes

  • The problem is fixed where message traces cannot be sent when multiple consumer or producer instances are initialized in one process. Versions 1.7.5 and 1.7.6 have this problem. We recommend that you upgrade your client.

ons-client v1.7.6.Final

Release date Version Download link
2018-04-04 1.7.6.Final ons-client-1.7.6.Final

New features

  • The client is compatible with all log frameworks.

Bugfixes

  • Log4j2 is supported.
  • The problem is fixed where the client is abnormally shut down when it fetches name servers.
  • The Fastjson version is updated to 1.2.48.

ons-client v1.7.5.Final

Release date Version Download link
2018-03-23 1.7.5.Final ons-client-1.7.5.Final

Bugfixes

  • The problem is fixed where internal Alibaba dependencies need to be added.

ons-client v1.7.4.Final

Release date Version Download link
2018-03-02 1.7.4.Final ons-client-1.7.4.Final

New features

  • STS token access is supported.
  • Priorities can be set for brokers to which message trace data is sent. The message trace data is sent to Message Queue for Apache RocketMQ brokers of the current cluster, which have the highest priority by default.

Bugfixes

  • The JDK 1.6 incompatibility problem is fixed.

ons-client v1.7.2.Final

Release date Version Download link
2018-01-25 1.7.2.Final ons-client-1.7.2.Final

New features

  • Encrypted transmission is supported for the AccessKey ID and AccessKey secret signature in Enterprise Platinum Edition instances, which improves data security.
  • SQL attribute filtering is supported for consumers in Enterprise Platinum Edition instances, which greatly improves the efficiency of message subscription.
  • The client can be enabled to automatically detect name server changes, which facilitates O&M and switchover and ensures the high availability of the client.
  • The exact version of a client that is newly connected is reported to the broker.

ons-client v1.7.1.Final

Release date Version Download link
2017-12-19 1.7.1.Final ons-client-1.7.1.Final

New features

  • A custom callback thread pool can be configured for the operation for asynchronously sending messages.
  • The JVM -D parameter Dclient.callback.executor.thread.nums is added to the operation for asynchronously sending messages. This parameter is used to control the number of threads in the public thread pool. For example, you can set this parameter to 10.

Bugfixes

  • The problem is fixed where the cache count is not deducted after the call of the SendBack method if the client message consumption timed out.
  • The problem is fixed where the consumer asynchronous semaphores are prematurely released.

ons-client v1.7.0.Final

Release date Version Download link
2017-10-23 1.7.0.Final ons-client-1.7.0.Final

New features

  • The message cache policies on the client are adjusted in two dimensions: number of messages and cache size.

Optimized features

  • The ProducerName parameter of the built-in tracing module is optimized for the client to allow different users to use different values.

Bugfixes

  • The problem is fixed where a client trace thread blocks the client from normally exiting.
  • The problem is fixed where the message trace ShutDownHook is repeatedly created.

ons-client v1.6.1.Final

Release date Version Download link
2017-08-31 1.6.1.Final ons-client-1.6.1.Final

Optimized features

  • Detailed Java documentation is added for all client APIs.
  • The method for obtaining client addresses is optimized to make it independent of the hostname configuration in /etc/hosts.

ons-client v1.6.0.Final

Release date Version Download link
2017-07-31 1.6.0.Final ons-client-1.6.0.Final

New features

  • The client is shaded at the source code level to ensure correct debugging.
  • Message attributes BornHost and BornTimestamp are exposed on the client.
  • The BatchConsumer method is added to consume messages in batches.
  • The demo for calling the BatchConsumer method is added to consume ordered messages in batches based on the configuration of Spring settings.

Optimized features

  • The shard key is placed in the message structure for partitionally ordered messages.
  • Integer values are added for message attribute settings.

What to do next

Prepare the environment