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