cckellogg commented on a change in pull request #202: [Issue: 201] Expose
GetDeliveryCount method from Message interface
URL: https://github.com/apache/pulsar-client-go/pull/202#discussion_r395724243
##########
File path: pulsar/message.go
##########
@@ -86,6 +86,13 @@ type Message interface {
// Key get the key of the message, if any
Key() string
+
+ // Get message redelivery count, redelivery count maintain in pulsar
broker. When client nack acknowledge messages,
+ // broker will dispatch message again with message redelivery count in
CommandMessage defined.
+ //
+ // Message redelivery increases monotonically in a broker, when topic
switch ownership to a another broker
+ // redelivery count will be recalculated.
+ GetDeliveryCount() uint32
Review comment:
`RedeliveryCount()`
----------------------------------------------------------------
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]
With regards,
Apache Git Services