Skip to content

Commit 4cf6f2f

Browse files
committed
Tweak Javadoc
1 parent d6c7038 commit 4cf6f2f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/rabbitmq/stream/MessageHandler.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ interface Context {
100100
* ConsumerFlowStrategy#creditWhenHalfMessagesProcessed(int)}, and {@link
101101
* ConsumerFlowStrategy#creditOnProcessedMessageCount(int, double)}, otherwise the broker may
102102
* stop sending messages to the consumer.
103+
*
104+
* <p>Applications should make sure to call <code>processed()</code> only once on each context,
105+
* as this method does not have to be idempotent. What several calls on the same context does
106+
* depends on the underlying {@link ConsumerFlowStrategy} implementation.
103107
*/
104108
void processed();
105109
}

0 commit comments

Comments
 (0)