This topic describes the versions of Apache RocketMQ 5.x SDK for Java. You can choose a version of the SDK for Java that meets your business requirements to send and receive messages based on the description of this topic.
Apache RocketMQ 5.x SDK for Java supports Java Development Kit (JDK) 1.8 or later.
Recommended versions
You can access ApsaraMQ for RocketMQ by using Apache RocketMQ SDKs.
The following versions of Apache RocketMQ 5.x SDK for Java are recommended. For information about Apache RocketMQ 3.x or 4.x SDK for Java, see Preparations.
<dependency>
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-client</artifactId>
<version>5.3.0</version>
</dependency>
<dependency>
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-acl</artifactId>
<version>5.3.0</version>
</dependency>
We recommend that you use Apache RocketMQ 5.x SDKs for higher performance and more comprehensive O&M capabilities. The following SDK version is tested and verified by Alibaba Cloud engineers. We recommend that you use the following version to send and receive messages.
Recommended version:
<dependency>
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-client-java</artifactId>
<version>5.0.7</version>
</dependency>
Historical versions
For information about historical versions, see Releases.