This topic describes the SDK versions supported by ApsaraMQ for RocketMQ.
SDK compatibility 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 ApsaraMQ for RocketMQ 5.x instances. We also recommend that you use Apache RocketMQ 5.x SDKs to access ApsaraMQ for RocketMQ brokers 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 | ||||
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 | Programming language | References |
gRPC v2 | SDK for Java | |
SDK for C# | ||
SDK for Go | ||
SDK for Python |
Apache RocketMQ 5.x SDKs (compatible)
Protocol | Programming language | References |
Remoting | SDK for Java |
Apache RocketMQ 4.x and 3.x SDKs (compatible)
Protocol | Programming language | References |
Remoting | SDK for Java | |
SDK for C++ |
Apache RocketMQ TCP client 1.x SDKs (compatible)
Protocol | Programming language | References |
Remoting | SDK for Java | |
SDK for C++ | ||
SDK for .NET |