All Products
Search
Document Center

ApsaraMQ for RocketMQ:Release notes

Last Updated:Sep 04, 2024

This topic describes the release notes for the RocketMQ ONS 1.x SDK for Java. The release notes include the release date, download link, and feature updates for each release. You can choose a version of the SDK for Java that meets your business requirements to send and receive messages based on the description in this topic.

Important
  • Java Development Kit (JDK) 1.8 is applicable to all versions of the TCP client SDK for Java. JDK 1.6 is applicable only to the TCP client SDK for Java 1.8.4.Final and earlier versions. To prevent JDK compatibility issues when you update the SDK version, we recommend that you use JDK 1.8.

  • For information about how to obtain Maven dependencies, see Prepare the environment.

1.9.1.Final

Release date

Description

Download link

2024-07-15

Fixed issue

The version of Guava is updated to 32.1.2-jre, and the security vulnerability CVE-2023-2976 is fixed.

ons-client-1.9.1.Final

1.9.0.Final

Release date

Description

Download link

2024-04-10

Added feature

The namespace parameter is added. This allows you to access serverless ApsaraMQ for RocketMQ 5.0 instances over the Internet.

ons-client-1.9.0.Final

1.8.8.8.Final

Release date

Description

Download link

2023-02-06

Fixed issue

The modifiable configuration item clientCloseSocketIfTimeout is added to quickly close abnormal TCP connections.

ons-client-1.8.8.8.Final

1.8.8.7.Final

Release date

Description

Download link

2023-01-11

Fixed issues

  • Message traces are lost when multiple messages are consumed at a time.

  • Some messages fail to be consumed because the maximum wait time is not configured when multiple messages are consumed at a time.

ons-client-1.8.8.7.Final

1.8.8.5.Final

Release date

Description

Download link

2022-05-16

Fixed issue

  • When the updateCredential operation is frequently called, cross-account authorization for RAM roles by using STS fails because atomicity is not ensured when the AccessKey ID, AccessKey secret, and STS token are updated.

Note

This issue is fixed only in scenarios in which RAM roles are used for authorization. The issue still occurs if you manually update the AccessKey ID, AccessKey secret, and STS token during authorization.

ons-client-1.8.8.5.Final

1.8.8.3.Final

Release date

Description

Download link

2022-01-18

Optimized features

  • The message that corresponds to a specific consumer offset is skipped due to broker errors.

  • The unit of the timeout period for message consumption is incorrect.

ons-client-1.8.8.3.Final

1.8.8.1.Final

Release date

Description

Download link

2021-08-24

Optimized features

  • An error occurs when ordered messages are retried.

  • Multiple duplicate messages are generated when the client retries to send a message that fails to be consumed in specific scenarios.

ons-client-1.8.8.1.Final

1.8.8.Final

Release date

Description

Download link

2021-04-02

Optimized features

  • The heartbeat sending logic is optimized.

  • The SDK uses an excessive amount of memory.

  • A message is sent back to the broker if the consumer fails to consume the message.

  • A topic-specific message cache limit does not take effect.

ons-client-1.8.8.Final

1.8.7.4.Final

Release date

Description

Download link

2021-02-08

Optimized features

  • The consumption of ordered messages is delayed in specific scenarios.

  • Ports are occupied for liveness detection on message producers.

ons-client-1.8.7.4.Final

Note

If you use the SDK for Java 1.8.7.1.Final or later to consume ordered messages, we recommend that you update the SDK client to the latest version.

1.8.4.Final

Release date

Description

Download link

2019-09-27

New features

  • JDK 1.6 is supported.

  • Asynchronous message retries are supported.

  • Synchronous message retries are supported in scenarios where brokers are busy.

ons-client-1.8.4.Final

ons-client v1.8.0.Final

Release date

Description

Download link

2019-02-21

Fixed issue

  • The automatic retry logic is fixed. By default, a maximum of three retries are allowed. This logic is applicable to scenarios in which a message fails to be synchronously sent from a producer to a topic in a new instance.

ons-client-1.8.0.Final

1.7.8.Final

Release date

Description

Download link

2018-07-06

New feature

  • STS tokens can be dynamically renewed.

Fixed issues

  • The default size of a single log file is 1 GB. After this issue is fixed, the default size is 64 MB.

  • Two copies of logs are generated.

ons-client-1.7.8.Final

Earlier versions

1.7.7.Final

Release date

Description

Download link

2018-04-25

Fixed issue

  • Message traces cannot be sent when multiple consumer or producer instances are initialized in the same process. This issue may occur in version 1.7.5.Final and version 1.7.6.Final. We recommend that you update your SDK.

ons-client-1.7.7.Final

1.7.6.Final

Release date

Description

Download link

2018-04-04

New feature

  • All log frameworks are supported.

Fixed issues

  • Apache Log4j2 is supported.

  • A client is unexpectedly shut down when it fetches name servers.

  • The FastJSON version is updated to 1.2.48.

ons-client-1.7.6.Final

1.7.5.Final

Release date

Description

Download link

2018-03-23

Fixed issue

  • Internal dependencies of Alibaba Cloud are used.

ons-client-1.7.5.Final

1.7.4.Final

Release date

Description

Download link

2018-03-02

New features

  • Access to Message Queue for Apache RocketMQ by using STS tokens is supported.

  • Priorities can be assigned for Message Queue for Apache RocketMQ brokers when you send message trace data. By default, the message trace data is preferentially sent to Message Queue for Apache RocketMQ brokers of the current cluster.

Fixed issue

  • The JDK 1.6 incompatibility issue is fixed.

ons-client-1.7.4.Final

1.7.2.Final

Release date

Description

Download link

2018-01-25

New features

  • Encryption at the transport layer is supported for Enterprise Platinum Edition instances. You can encrypt data at the transport layer when you use the AccessKey ID and AccessKey secret to generate a signature. This feature helps improve data security.

  • SQL attribute filtering is supported for the consumers of Enterprise Platinum Edition instances. This improves the efficiency of message subscription.

  • The changes in a name server can be automatically detected by the client. This helps you perform O&M activities and switchovers to ensure the high availability of the client.

  • The version information of a client is reported to the broker in an exact manner when the client initiates a connection request to the broker.

ons-client-1.7.2.Final

1.7.1.Final

Release date

Description

Download link

2017-12-19

New features

  • A custom callback thread pool can be configured when you call an API operation to send messages in an asynchronous manner.

  • The JVM -D parameter Dclient.callback.executor.thread.nums is added to the request parameters of the API operation that sends messages in an asynchronous manner. This parameter is used to manage the number of threads in the public thread pool. For example, you can set this parameter to 10.

Fixed issues

  • The cache count is not decreased when a message is sent back to the broker due to a consumption timeout.

  • The asynchronous semaphore of a client is released before the scheduled point in time.

ons-client-1.7.1.Final

1.7.0.Final

Release date

Description

Download link

2017-10-23

New feature

  • The cache policy for messages on clients is modified based on the following dimensions: message count and cache size.

Optimized feature

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

Fixed issues

  • A client trace thread prevents the client from exiting as expected.

  • The message trace ShutDownHook is created multiple times.

ons-client-1.7.0.Final

1.6.1.Final

Release date

Description

Download link

2017-08-31

Optimized features

  • Java documentation is provided for all client API operations.

  • The method that is used to obtain client addresses is optimized. This allows you to obtain client addresses without modifying the hostname configuration in /etc/hosts.

ons-client-1.6.1.Final

1.6.0.Final

Release date

Description

Download link

2017-07-31

New features

  • The client is shaded in the source code to ensure correct debugging.

  • The BornHost and BornTimestamp message attributes can be viewed on the client.

  • The BatchConsumer operation is added. This operation allows you to consume multiple messages at a time.

  • The demo for calling the BatchConsumer method is added to consume multiple ordered messages at a time based on Spring settings.

Optimized features

  • The sharding key is stored in the message structure for partitionally ordered messages.

  • Integer values are supported for message attribute settings.

ons-client-1.6.0.Final

What to do next

Prepare the environment