alpna13 opened a new issue #9370:
URL: https://github.com/apache/pulsar/issues/9370


   #### Expected behavior
   
   It should be able to consume from the Topic
   
   #### Actual behavior
   
   Consumer(With **Key_Shared** subscription) unable to consume the messages 
from Topic
   
   #### Steps to reproduce
   This is how we creating the consumer -
   
   consumer = pulsarClient.newConsumer(Schema.BYTES)
   .subscriptionMode(SubscriptionMode.Durable)
   .topic(vmbConfig.getTopic())
   .cryptoKeyReader(new RawFileKeyReader(vmbConfig.getPublicKeyFile(), 
vmbConfig.getPrivateKeyFile()))
   .consumerName("Test Consumer")
   .subscriptionName(vmbConfig.getSubscriptionName())
   .subscriptionType(**SubscriptionType.Key_Shared**)
   .keySharedPolicy(KeySharedPolicy.autoSplitHashRange())
   .subscribe();
   
   
   #### System configuration
   **Pulsar version**: 2.6.2
   


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


Reply via email to