All Products
Document Center

How do I access a Message Queue for Apache Kafka instance through a proxy

Last Updated: Sep 25, 2020


You cannot access Kafka instances through a proxy. For more information, see detailed information.


The following steps shows how the client accesses the server:

  1. By bootstrap.servers randomly access the server to obtain Metadata.

  2. The IP address in the Metadata is used for sending and receiving subsequent messages.


After the proxy is configured, the first step is normal, but in the second step, the client still accesses through the IP address in the Metadata, resulting in access failure. Therefore, the network must be fully connected.

Note: If you use an on-premises IDC to access the off-premises network, you need to establish a leased line connection. For more information about leased lines, see leased Line connection.

Application scope

  • Message Queue for Apache Kafka