请问生产者的哪个参数来决定队列满了之后的行为呢

Async send
The producer puts a message in a blocking queue and returns immediately. The client library sends the message to the broker in the background. If the queue is full (you can configure the maximum size), the producer is blocked or fails immediately when calling the API, depending on arguments passed to the producer.

(1)“arguments passed to the producer”??什么参数来决定是阻塞还是失败呢?
(2)哪个参数来设置阻塞队列的长度呢?
感谢。

已解决!!!!!!!!!!!!!!!!!!!!