@@ -1319,6 +1319,29 @@ managedLedgerUnackedRangesOpenCacheSetEnabled=true
1319
1319
# MetadataStore.
1320
1320
managedLedgerMaxUnackedRangesToPersistInMetadataStore=1000
1321
1321
1322
+ # ManagedCursorInfo compression type, option values (NONE, LZ4, ZLIB, ZSTD, SNAPPY).
1323
+ # If value is NONE, then save the ManagedCursorInfo bytes data directly without compression.
1324
+ # Using compression reduces the size of persistent cursor (subscription) metadata. This enables using a higher
1325
+ # managedLedgerMaxUnackedRangesToPersistInMetadataStore value and reduces the overall metadata stored in
1326
+ # the metadata store such as ZooKeeper.
1327
+ managedCursorInfoCompressionType=NONE
1328
+
1329
+ # ManagedCursorInfo compression size threshold (bytes), only compress metadata when origin size more then this value.
1330
+ # 0 means compression will always apply.
1331
+ managedCursorInfoCompressionThresholdInBytes=16384
1332
+
1333
+ # ManagedLedgerInfo compression type, option values (NONE, LZ4, ZLIB, ZSTD, SNAPPY).
1334
+ # If value is invalid or NONE, then save the ManagedLedgerInfo bytes data directly without compression.
1335
+ # Using compression reduces the size of the persistent topic metadata. When a topic contains a large number of
1336
+ # individual ledgers in BookKeeper or tiered storage, compression helps prevent the metadata size from exceeding
1337
+ # the maximum size of a metadata store entry (ZNode in ZooKeeper). This also reduces the overall metadata stored
1338
+ # in the metadata store such as ZooKeeper.
1339
+ managedLedgerInfoCompressionType=NONE
1340
+
1341
+ # ManagedLedgerInfo compression size threshold (bytes), only compress metadata when origin size more then this value.
1342
+ # 0 means compression will always apply.
1343
+ managedLedgerInfoCompressionThresholdInBytes=16384
1344
+
1322
1345
# Skip reading non-recoverable/unreadable data-ledger under managed-ledger's list. It helps when data-ledgers gets
1323
1346
# corrupted at bookkeeper and managed-cursor is stuck at that ledger.
1324
1347
autoSkipNonRecoverableData=false
0 commit comments