merlimat opened a new pull request #842: Add 
PulsarClientImpl.getNumberOfPartitions() to avoid exposing 
PartitionedTopicMetadata
URL: https://github.com/apache/incubator-pulsar/pull/842
 
 
   ### Motivation
   
   The `PartitionedTopicMetadata` will be shaded if the pulsar-client library 
itself it's shaded, so we cannot really use it (for example in Kafka wrapper we 
need to know the number of partitions).
   
   By returning just the partitions number, we avoid the shading problem.
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to