nats.py icon indicating copy to clipboard operation
nats.py copied to clipboard

Add compression field for stream config

Open ierehon1905 opened this issue 1 year ago • 0 comments

Proposed change

in StreamConfig a field called compression may be added. Its type according to documentation would be

compression : Optional[Literal["s2"]] = None

Use case

We use compression in our streams and would like to move from defining our streams in infra as code to just code approach

Contribution

I might if the code is not too complex

ierehon1905 avatar Dec 21 '23 10:12 ierehon1905