Shoothzj commented on code in PR #277:
URL: https://github.com/apache/pulsar-client-cpp/pull/277#discussion_r1219587699
##########
tests/brokermetadata/BrokerMetadataTest.cc:
##########
@@ -25,19 +25,58 @@ using namespace pulsar;
TEST(BrokerMetadataTest, testConsumeSuccess) {
Client client{"pulsar://localhost:6650"};
Producer producer;
- Result producerResult =
client.createProducer("persistent://public/default/testConsumeSuccess",
producer);
+ ProducerConfiguration producerConfiguration;
+ producerConfiguration.setBatchingEnabled(false);
Review Comment:
@BewareMyPower I am fine with this improvement. Since we need to use async,
I think we don't need this improvement
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]