pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] jiazhai opened a new pull request #2980: CPP: add triggerFlush to immediately flush batch messages in producer::send
Date Tue, 13 Nov 2018 03:23:35 GMT
jiazhai opened a new pull request #2980: CPP: add triggerFlush to immediately flush batch messages
in producer::send
URL: https://github.com/apache/pulsar/pull/2980
 
 
   ### Motivation
   
   In PR #2949 , Matteo mentioned we should make sure that calling producer.send() will immediately
close the current batch and send out. Otherwise that will impose a latency and throughput
penalty for a sync send producer.
   
   ### Modifications
   
   - add triggerFlush to immediately flush batch messages in producer::send
   - add related unit test
   
   ### Result
   
   cpp unit tests pass

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message