Closed BewareMyPower closed 6 months ago
Fixes https://github.com/apache/pulsar-client-python/issues/178
https://github.com/apache/pulsar-client-python/pull/121 introduces a regression that when negative_acknowledge accepts a message ID, the underlying acknowledgeAsync method will be called.
negative_acknowledge
acknowledgeAsync
Fix the Consumer_negative_acknowledge_message_id method and add the test for negative acknowledging message IDs in test_redelivery_count.
Consumer_negative_acknowledge_message_id
test_redelivery_count
Fixes https://github.com/apache/pulsar-client-python/issues/178
Motivation
https://github.com/apache/pulsar-client-python/pull/121 introduces a regression that when
negative_acknowledge
accepts a message ID, the underlyingacknowledgeAsync
method will be called.Modifications
Fix the
Consumer_negative_acknowledge_message_id
method and add the test for negative acknowledging message IDs intest_redelivery_count
.