Configure these parameters when you use the TCP client SDK for C++ of the Community Edition to connect to ApsaraMQ for RocketMQ.
Common parameters
The following parameters apply to both producers and consumers.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
NameServer | String | Yes | None | The TCP endpoint of your ApsaraMQ for RocketMQ instance. Get this value from the Instance Details page in the ApsaraMQ for RocketMQ console. |
GroupID | String | Yes | None | The ID of the consumer or producer group created in the ApsaraMQ for RocketMQ console. For more information, see Terms. |
AccessKey | String | Yes | None | The AccessKey ID for authentication. For more information, see Create an AccessKey pair. |
SecretKey | String | Yes | None | The AccessKey secret for authentication. For more information, see Create an AccessKey pair. |
Channel | String | No | ALIYUN | The user channel. Keep the default value unless otherwise specified. |