All Products
Search
Document Center

ApsaraMQ for Kafka:How many connections to the broker can a producer establish?

Last Updated:Sep 14, 2023

Each producer usually establishes two TCP connections to the broker.

Each producer usually establishes two TCP connections to the broker. One TCP connection is used to update metadata and the other is used to send messages.

For more information, see How TCP Connections are Managed by kafka-clients scala library.