Commit 13c89e8
authored
KAFKA-19965: Increasing batch size to fix throttled delivery test (#21081)
The PR increases the max.poll.records config to 512 as the produced
batch is of 512 records. SharePartition creates batches as per `share
fetch` request batch-size config, which is currently controlled by
max.poll.records. Drfault max.poll.records config is 500 and If producer
generates multiple batches on log then there will be multiple batches in
share partition. The throttled response in fetch is based on batch size
in share partition hence subsequent throttles fetch calls can have
different sizes as per the produces batches. To make sure the batch is
of correct size in share partition increase the max.poll.records to 512.
The same has been done in other test but missed in the current PR test:
https://github.com/apache/kafka/blob/a8b1fb9203133a356732bf069aa3e0dd9b1716b7/clients/clients-integration-tests/src/test/java/org/apache/kafka/clients/consumer/ShareConsumerTest.java#L3707
Reviewers: Andrew Schofield <[email protected]>, Lan Ding
<[email protected]>1 parent a8b1fb9 commit 13c89e8
File tree
1 file changed
+5
-1
lines changed- clients/clients-integration-tests/src/test/java/org/apache/kafka/clients/consumer
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3492 | 3492 | | |
3493 | 3493 | | |
3494 | 3494 | | |
3495 | | - | |
| 3495 | + | |
| 3496 | + | |
| 3497 | + | |
| 3498 | + | |
| 3499 | + | |
3496 | 3500 | | |
3497 | 3501 | | |
3498 | 3502 | | |
| |||
0 commit comments