This topic describes the SDK versions supported by ApsaraMQ for RocketMQ.
Description
The following table describes the compatibility between ApsaraMQ for RocketMQ broker versions and client SDK versions. To improve your experience, we recommend that you use RocketMQ 5.x instances. We also recommend that you use Apache RocketMQ 5.x SDKs to access a Message Queue for Apache RocketMQ broker to send and receive messages.
Instance version | Protocol | Client version | Compatibility | Limit |
ApsaraMQ for RocketMQ 5.x instance | gRPC v2 | Compatible | All features of ApsaraMQ for RocketMQ 5.x instances are supported. | |
Remoting | Compatible | The messaging feature is supported. Message trace data and specific metrics cannot be displayed. Note Metrics that are related to producers and consumers cannot be displayed. For more information, see Metric details. | ||
Compatible | ||||
gRPC v1 | ApsaraMQ for RocketMQ TCP client 2.x SDKs | Incompatible | ApsaraMQ for RocketMQ 5.x instances cannot be accessed by using Apache RocketMQ TCP client 2.x SDKs. | |
HTTP | ApsaraMQ for RocketMQ HTTP client SDKs | Incompatible | ApsaraMQ for RocketMQ 5.x SDKs do not support the HTTP protocol. | |
ApsaraMQ for RocketMQ 4.x instance | gRPC v2 | ApsaraMQ for RocketMQ 5.x SDKs | Incompatible | You cannot access ApsaraMQ for RocketMQ 4.x instances by using SDKs that correspond to ApsaraMQ for RocketMQ 5.x instances. |
Remoting | Compatible | All features of ApsaraMQ for RocketMQ 4.x instances are supported. | ||
Compatible | ||||
gRPC v1 | Compatible | |||
HTTP | Compatible |
Apache RocketMQ 5.x SDKs (recommended)
Protocol | Laguage | Documents |
TCP | Java SDK | |
C# SDK | ||
Go SDK |
Apache RocketMQ 4.x and 3.x SDKs (compatible)
Protocol | Laguage | Documents |
TCP | Java SDK | |
C++ SDK |
Apache RocketMQ TCP client 1.x SDKs (compatible)
Protocol | Laguage | Documents |
TCP | Java SDK | |
C++ SDK | ||
.NET SDK |