Skip to content

Commit 238c5d5

Browse files
committed
Reword Javadoc
1 parent a3e3db3 commit 238c5d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ static ConsumerFlowStrategy creditOnProcessedMessageCount(int initialCredits, do
172172
* Strategy that provides the specified number of initial credits and <code>n</code> credits every
173173
* <code>n</code> chunks.
174174
*
175-
* <p>This strategy can improve throughput for streams with small chunks (less than 30 messages
176-
* per chunk).
175+
* <p>This strategy can improve throughput for some workloads, it is possible to experiment with
176+
* it if hitting problems with other flow strategies.
177177
*
178178
* <p>The number of initial credits must be at least twice as big as <code>n</code>.
179179
*
@@ -193,8 +193,8 @@ static ConsumerFlowStrategy creditEveryNthChunk(int initialCredits, int n) {
193193
* Strategy that provides the specified number of initial credits and <code>n</code> credits every
194194
* <code>n</code> chunks.
195195
*
196-
* <p>This strategy can improve throughput for streams with small chunks (less than 30 messages
197-
* per chunk).
196+
* <p>This strategy can improve throughput for some workloads, it is possible to experiment with
197+
* it if hitting problems with other flow strategies.
198198
*
199199
* <p>The number of initial credits must be at least twice as big as <code>n</code>.
200200
*

0 commit comments

Comments
 (0)