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