Updated on 2024-12-17 GMT+08:00

Collecting Connection Information

Notes and Constraints

The gRPC protocol is only supported by RocketMQ v5.x but not v4.8.0.

Obtaining Instance Connection Information

  • Instance address and port

    After an instance is created, you can obtain the IP address from the Basic Information page of the instance on the RocketMQ console. You can configure all IP addresses on the client.

    • Obtain Instance Address when connecting to the RocketMQ instance through TCP over the private network.
    • Obtain gRPC Connection Address when connecting to the RocketMQ instance through gRPC over the private network.
    • Obtain Instance Address (Public Network) when connecting to the RocketMQ instance through TCP over the public network.
    • Obtain gRPC Connection Address (Public Network) when connecting to the RocketMQ instance through gRPC over the public network.
    Figure 1 Viewing addresses and ports of an instance (v5.x)
    Figure 2 Viewing addresses and ports of an instance (v4.8.0)
  • Topic name

    Obtain the topic name from the Topics page of the instance on the RocketMQ console.

  • Consumer group name

    Obtain the consumer group name from the Consumer Groups page of the instance on the RocketMQ console.

  • Username and secret key

    Obtain the username from the Users page of the instance and obtain the secret key from the user details page on the RocketMQ console.