public static interface ConsumerFlowStrategy.Context
| Modifier and Type | Method and Description |
|---|---|
void |
credits(int credits)
Provide credits for the subscription.
|
long |
messageCount()
The number of messages in the chunk.
|
void credits(int credits)
ConsumerFlowStrategy implementation should always provide 1 credit a given chunk.
credits - the number of credits provided, usually 1long messageCount()
Copyright © 2024 Broadcom Inc. and/or its subsidiaries. All rights reserved.