RabbitMQ lesson 7 ACK response package
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)