compressionByPrefix
compressionByPrefix(
spec):CompressionResolver
Defined in: src/persistence/object-storage/PluginConfig.ts:114
Build a CompressionResolver from a longest-prefix-match map. The
default entry is used when no other prefix matches.
compressionByPrefix({ default: { algorithm: ‘gzip’ }, ‘events/big/’: { algorithm: ‘zstd’ }, ‘events/tiny/’: { algorithm: ‘none’ }, })
Parameters
Section titled “Parameters”object & Record<string, CompressionConfig>