我有一个通过调用这样的东西来生成消息的循环。
Client *client;
client = new Client('127.0.0.1', 9092);
client->sendProduceRequest(new ProduceRequest(correlationId, clientId, requiredAcks, timeout, produceTopicArraySize, produceTopicArray, true));
如何使sendProduceRequest成为非阻塞?