Updated on 2023-12-22 GMT+08:00

Collecting Connection Information

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 Instance Address (Public Network) when connecting to the RocketMQ instance through TCP over the public network.
    Figure 1 Viewing the 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.