Skip to content

Commit c1fa081

Browse files
committed
add getRedeliveryCount comment
1 parent 4c1c94c commit c1fa081

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Message.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ public function getMessageId(): string
117117

118118
/**
119119
* @return int
120+
* The number is self-incrementing when nack is used and is maintained by the pulsar broker
121+
* The quantity is reset when the consumer disconnects
120122
*/
121123
public function getRedeliveryCount(): int
122124
{

0 commit comments

Comments
 (0)