@@ -838,6 +838,29 @@ managedLedgerMaxUnackedRangesToPersist=10000
838
838
# MetadataStore.
839
839
managedLedgerMaxUnackedRangesToPersistInMetadataStore=1000
840
840
841
+ # ManagedCursorInfo compression type, option values (NONE, LZ4, ZLIB, ZSTD, SNAPPY).
842
+ # If value is NONE, then save the ManagedCursorInfo bytes data directly without compression.
843
+ # Using compression reduces the size of persistent cursor (subscription) metadata. This enables using a higher
844
+ # managedLedgerMaxUnackedRangesToPersistInMetadataStore value and reduces the overall metadata stored in
845
+ # the metadata store such as ZooKeeper.
846
+ managedCursorInfoCompressionType=NONE
847
+
848
+ # ManagedCursorInfo compression size threshold (bytes), only compress metadata when origin size more then this value.
849
+ # 0 means compression will always apply.
850
+ managedCursorInfoCompressionThresholdInBytes=16384
851
+
852
+ # ManagedLedgerInfo compression type, option values (NONE, LZ4, ZLIB, ZSTD, SNAPPY).
853
+ # If value is invalid or NONE, then save the ManagedLedgerInfo bytes data directly without compression.
854
+ # Using compression reduces the size of the persistent topic metadata. When a topic contains a large number of
855
+ # individual ledgers in BookKeeper or tiered storage, compression helps prevent the metadata size from exceeding
856
+ # the maximum size of a metadata store entry (ZNode in ZooKeeper). This also reduces the overall metadata stored
857
+ # in the metadata store such as ZooKeeper.
858
+ managedLedgerInfoCompressionType=NONE
859
+
860
+ # ManagedLedgerInfo compression size threshold (bytes), only compress metadata when origin size more then this value.
861
+ # 0 means compression will always apply.
862
+ managedLedgerInfoCompressionThresholdInBytes=16384
863
+
841
864
# Skip reading non-recoverable/unreadable data-ledger under managed-ledger's list. It helps when data-ledgers gets
842
865
# corrupted at bookkeeper and managed-cursor is stuck at that ledger.
843
866
autoSkipNonRecoverableData=false
0 commit comments