merlimat commented on a change in pull request #1365: Delete 
PartitionedConsumerImpl, use TopicsConsumerImpl instead
URL: https://github.com/apache/incubator-pulsar/pull/1365#discussion_r178470816
 
 

 ##########
 File path: 
pulsar-client/src/main/java/org/apache/pulsar/client/impl/PulsarClientImpl.java
 ##########
 @@ -384,8 +384,8 @@ public ClientConfigurationData getConfiguration() {
             // gets the next single threaded executor from the list of 
executors
             ExecutorService listenerThread = 
externalExecutorProvider.getExecutor();
             if (metadata.partitions > 1) {
-                consumer = new 
PartitionedConsumerImpl<>(PulsarClientImpl.this, conf, metadata.partitions, 
listenerThread,
-                        consumerSubscribedFuture, schema);
+                consumer = new TopicsConsumerImpl<>(PulsarClientImpl.this, 
conf,
 
 Review comment:
   How does `TopicsConsumerImpl` discover the partitions it has to use?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to