mirror of https://github.com/apache/kafka.git
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>
This commit is contained in:
parent
1293658cca
commit
b4b73c604b
|
@ -40,7 +40,7 @@ public class ShareGroupConfig {
|
|||
public static final String SHARE_GROUP_ENABLE_DOC = "Enable share groups on the broker.";
|
||||
|
||||
public static final String SHARE_GROUP_PARTITION_MAX_RECORD_LOCKS_CONFIG = "group.share.partition.max.record.locks";
|
||||
public static final int SHARE_GROUP_PARTITION_MAX_RECORD_LOCKS_DEFAULT = 200;
|
||||
public static final int SHARE_GROUP_PARTITION_MAX_RECORD_LOCKS_DEFAULT = 2000;
|
||||
public static final String SHARE_GROUP_PARTITION_MAX_RECORD_LOCKS_DOC = "Share-group record lock limit per share-partition.";
|
||||
|
||||
public static final String SHARE_GROUP_DELIVERY_COUNT_LIMIT_CONFIG = "group.share.delivery.count.limit";
|
||||
|
|
Loading…
Reference in New Issue