You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/08/24 14:34:17 UTC

[GitHub] [pulsar-dotpulsar] RobertIndie edited a comment on pull request #48: Producer for Partitioned topics

RobertIndie edited a comment on pull request #48:
URL: https://github.com/apache/pulsar-dotpulsar/pull/48#issuecomment-679163993


   > Should we add:
   > 
   > ```
   > Task<IConsumer> IConsumerBuilder#CreateAsync()
   > Task<IProducer> IProducerBuilder#CreateAsync()
   > 
   > Task<IConsumer> IPulsarClient#CreateConsumerAsync(ConsumerOptions options);
   > Task<IProducer> IPulsarClient#CreateProducerAsync(ProducerOptions options);
   > ```
   > 
   > I seriously don't like WaitAll / Result / etc.
   
   I think this is a good suggestion, although at the moment we only need to use the asynchronous approach when creating the producer. @blankensteiner What do you think of this proposal?


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