All Products
Search
Document Center

ApsaraMQ for Kafka:How do I access a ApsaraMQ for Kafka instance by using a proxy?

Last Updated:May 26, 2023

Overview

You cannot access a ApsaraMQ for Kafka instance by using a proxy. For more information, see Details.

Details

The following items describe the working mechanism for a client to access a ApsaraMQ for Kafka broker:

  1. The client uses the bootstrap.servers list to access a broker and obtain the metadata.

  2. The client uses the IP address that is obtained from the metadata to send and receive messages.

After you configure a proxy, your client can obtain the metadata. However, the client cannot use the IP address that is obtained from the metadata to send or receive messages. This means if you access a ApsaraMQ for Kafka instance by using a proxy, the network cannot be fully connected.

Note

If you want to access Alibaba Cloud from an on-premises data center, you must use an Express Connect circuit. For more information, see What is a connection over an Express Connect circuit?.