Technoboy- commented on issue #21593: URL: https://github.com/apache/pulsar/issues/21593#issuecomment-1841997701
> 3. Create one consumer as following consumer = client.subscribe( topic='persistent://public/default/test-consumer', subscription_name='test', consumer_type=ConsumerType.Shared, initial_position=InitialPosition.Earliest, receiver_queue_size=1, max_total_receiver_queue_size_across_partitions=1, consumer_name=None, negative_ack_redelivery_delay_ms=60000, unacked_messages_timeout_ms=3600000) Add this config : acknowledgmentGroupTime(1, TimeUnit.MILLISECONDS) > 4. Receive and ack one message consumer.receive(timeout_millis=30000) consumer.acknowledge(message=message_id) Add Thread.sleep(100) after ack. Then check the stats -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
