Updated on 2026-01-06 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 its IP address in the Connection area on the Overview page on the RocketMQ console. You can configure all IP addresses on a client.

    • Obtain Instance Address (Private Network) IPv4 when connecting to the RocketMQ instance through TCP over the private network.
    • Obtain gRPC Connection Address IPv4 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 Instance > Topics page of the instance on the RocketMQ console.

  • Consumer group name

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

  • Username and secret key

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