Skip to content

Commit b4b73c6

Browse files
KAFKA-19245: Updated default locks config for share group (#19705)
Updated default locks config for share groups from 200 to 2000. The increase in the limit is a result from tests which showed that with default maxFetchRecords of 500 from client and 200 as locks limit, there can't be parallel fetch for same partition. Also the tests resulted that sharing a partition to an index of 3-4 is easily achievable, hence raised the limit to 4 times of default limit of maxFetchRecords (500). Reviewers: Andrew Schofield <aschofield@confluent.io>
1 parent 1293658 commit b4b73c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

group-coordinator/src/main/java/org/apache/kafka/coordinator/group/modern/share/ShareGroupConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class ShareGroupConfig {
4040
public static final String SHARE_GROUP_ENABLE_DOC = "Enable share groups on the broker.";
4141

4242
public static final String SHARE_GROUP_PARTITION_MAX_RECORD_LOCKS_CONFIG = "group.share.partition.max.record.locks";
43-
public static final int SHARE_GROUP_PARTITION_MAX_RECORD_LOCKS_DEFAULT = 200;
43+
public static final int SHARE_GROUP_PARTITION_MAX_RECORD_LOCKS_DEFAULT = 2000;
4444
public static final String SHARE_GROUP_PARTITION_MAX_RECORD_LOCKS_DOC = "Share-group record lock limit per share-partition.";
4545

4646
public static final String SHARE_GROUP_DELIVERY_COUNT_LIMIT_CONFIG = "group.share.delivery.count.limit";

0 commit comments

Comments
 (0)