You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/09/07 11:16:28 UTC

[GitHub] [pulsar] BewareMyPower commented on issue #7800: Missing KEY_BASED option from BatchBuilder for C++ Client

BewareMyPower commented on issue #7800:
URL: https://github.com/apache/pulsar/issues/7800#issuecomment-688257810


   I've just pushed a PR #7996 to support key based batching. There're a lot of changes so it may take some time to review.
   
   You can see [KeySharedConsumerTest.cc](https://github.com/apache/pulsar/blob/bf55c95b5ff65e7ed2eb78617f2e183b77d47aa4/pulsar-client-cpp/tests/KeySharedConsumerTest.cc) as an example. Just change the batching type of producer:
   
   ```c++
               ProducerConfiguration()                                                //
                   .setBatchingType(ProducerConfiguration::KeyBasedBatching)          //
                   /* set other configs... */
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org