Skip to content

Commit 6df7fda

Browse files
committed
Document consumer initial credits setting
1 parent d568d72 commit 6df7fda

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/docs/asciidoc/api.adoc

+9
Original file line numberDiff line numberDiff line change
@@ -842,6 +842,15 @@ Useful when <<single-active-consumer, single active consumer>> is enabled and an
842842
|A <<consumer-subscription-listener, callback>> before the subscription is created.
843843
Useful when using an external store for offset tracking.
844844
|`null`
845+
846+
|`flow`
847+
|Configuration helper for flow control.
848+
|
849+
850+
|`flow#initialCredits`
851+
|Number of credits when the subscription is created.
852+
Increase for higher throughput at the expense of memory usage.
853+
|1
845854
|===
846855

847856
[NOTE]

0 commit comments

Comments
 (0)