Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

RabbitMQ lesson 7 ACK response package

Shulou Source: shulou.com Published: 2022-06-03 07:46:59 09月23日 Update

The sixth parameter of the amqp_basic_consume function, which specifies whether to send the ACK response packet. Set to 1 to send, 0 to not send.

As can be seen from the web side of RabbitMQ, for persistent queues, messages do not receive ACK response packets and will continue to be stored in memory and not released. So we need to pay attention to this.

Amqp_basic_consume (conn, 1, queuename, amqp_empty_bytes, 0,1,0

Amqp_empty_table)

Tags: Memory functions parameters messages web pages queues Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Linux Redmi MySQL MariaDB