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 2019/12/06 02:27:02 UTC

[GitHub] [pulsar] codelipenghui commented on issue #5788: [pulsar-java-client] Decouple partition switch frequency with maxPublishDelay in producer configuration

codelipenghui commented on issue #5788: [pulsar-java-client] Decouple partition switch frequency with maxPublishDelay in producer configuration
URL: https://github.com/apache/pulsar/pull/5788#issuecomment-562405172
 
 
   @sijie I have discussed with yijie, i'm not sure use a custom router is reasonable here. we can support setting frequency in RoundRobinPartitionMessageRouterImpl and user use it like:
   
   ```
   newProducer().router(new RoundRobinPartitionMessageRouterImpl(int frequency))
   ```
   
   Which can reduces `ProducerConfigurationData` complexity since we all ready have  routeMode and customRouter there.

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


With regards,
Apache Git Services