The Client IP Address Query feature in ApsaraMQ for Kafka lets you query the IP addresses of clients that produce and consume messages in the console to help you troubleshoot issues and track consumption.
Notes
-
The Kafka collects IP information from sampled logs of client API requests.
-
The 'Statistics' value represents the number of connections from different ports on the same IP address, as counted by the broker within the specified time range.
-
If your broker is not running the latest minor version, the sampled logs can be inaccurate, resulting in imprecise IP information. Update to the latest minor version as soon as possible. For more information, see minor version update.
Procedure
Log on to the ApsaraMQ for Kafka console. In the Resource Distribution section of the Overview page, select the region where the ApsaraMQ for Kafka instance that you want to manage resides.
In the left-side navigation pane, click Instances.
On the Instances page, click the name of the instance that you want to manage.
-
In the left-side navigation pane, click Client IP Address Query. Select the By Instance, By Topic, or By Group tab as needed. On the By Instance tab, set the Time Range and then click Query.
The query results are organized into five tables by request type: Fetch requests, Produce requests, Metadata requests, Offset commit requests, and Heartbeat requests. Each table contains an IP column and a Statistics column, showing the number of requests from each client IP address.