@@ -1272,6 +1272,29 @@ managedLedgerUnackedRangesOpenCacheSetEnabled=true
1272
1272
# MetadataStore.
1273
1273
managedLedgerMaxUnackedRangesToPersistInMetadataStore=1000
1274
1274
1275
+ # ManagedCursorInfo compression type, option values (NONE, LZ4, ZLIB, ZSTD, SNAPPY).
1276
+ # If value is NONE, then save the ManagedCursorInfo bytes data directly without compression.
1277
+ # Using compression reduces the size of persistent cursor (subscription) metadata. This enables using a higher
1278
+ # managedLedgerMaxUnackedRangesToPersistInMetadataStore value and reduces the overall metadata stored in
1279
+ # the metadata store such as ZooKeeper.
1280
+ managedCursorInfoCompressionType=NONE
1281
+
1282
+ # ManagedCursorInfo compression size threshold (bytes), only compress metadata when origin size more then this value.
1283
+ # 0 means compression will always apply.
1284
+ managedCursorInfoCompressionThresholdInBytes=16384
1285
+
1286
+ # ManagedLedgerInfo compression type, option values (NONE, LZ4, ZLIB, ZSTD, SNAPPY).
1287
+ # If value is invalid or NONE, then save the ManagedLedgerInfo bytes data directly without compression.
1288
+ # Using compression reduces the size of the persistent topic metadata. When a topic contains a large number of
1289
+ # individual ledgers in BookKeeper or tiered storage, compression helps prevent the metadata size from exceeding
1290
+ # the maximum size of a metadata store entry (ZNode in ZooKeeper). This also reduces the overall metadata stored
1291
+ # in the metadata store such as ZooKeeper.
1292
+ managedLedgerInfoCompressionType=NONE
1293
+
1294
+ # ManagedLedgerInfo compression size threshold (bytes), only compress metadata when origin size more then this value.
1295
+ # 0 means compression will always apply.
1296
+ managedLedgerInfoCompressionThresholdInBytes=16384
1297
+
1275
1298
# Skip reading non-recoverable/unreadable data-ledger under managed-ledger's list. It helps when data-ledgers gets
1276
1299
# corrupted at bookkeeper and managed-cursor is stuck at that ledger.
1277
1300
autoSkipNonRecoverableData=false
0 commit comments