detj opened a new issue, #3028: URL: https://github.com/apache/iggy/issues/3028
### Bug description ## What were you doing? Creating a stream with the iggy cli fails for the following compression algorithms. - `zstd` - `lz4` Works with `gzip` & `none`. ## What you expected? Expected the topic to be created with the `lz4` or `zstd` compression algorithms. ## What actually happened? Topic creation failed for the `zstd` & `lz4` compression algorithms. ```sh iggy -u iggy -p iggy topic create my-stream my-topic 3 lz4 7d error: invalid value 'lz4' for '<COMPRESSION_ALGORITHM>': Unknown compression type: lz4 For more information, try '--help'. ``` ```sh iggy -u iggy -p iggy topic create my-stream my-topic 3 zstd 7d error: invalid value 'zstd' for '<COMPRESSION_ALGORITHM>': Unknown compression type: zstd For more information, try '--help'. ``` ## Additional details Rest of the server configuration is set as default. Implies the following. ```toml # Compression configuration [system.compression] # Allows overriding the default compression algorithm per data segment (boolean). # `true` permits different compression algorithms for individual segments. # `false` means all data segments use the default compression algorithm. allow_override = false # The default compression algorithm used for data storage (string). # "none" indicates no compression, other values can specify different algorithms. default_algorithm = "none" ``` ### Deployment Docker (DockerHub image) ### Versions server 0.7.0 ### Hardware / environment macOS 26.3.1 ### Sample code _No response_ ### Logs _No response_ ### Iggy server config ```sh IGGY_ROOT_USERNAME=iggy IGGY_ROOT_PASSWORD=iggy IGGY_HTTP_ENABLED=true IGGY_HTTP_ADDRESS=0.0.0.0:80 IGGY_TCP_ENABLED=true IGGY_TCP_ADDRESS=0.0.0.0:8090 IGGY_QUIC_ENABLED=false IGGY_WEBSOCKET_ENABLED=false IGGY_HEARTBEAT_ENABLED=true IGGY_HEARTBEAT_INTERVAL=5s IGGY_SYSTEM_PATH=/local_data ``` ### Reproduction 1. Create a new topic with `lz4` compression ```sh iggy -u iggy -p iggy topic create my-stream my-topic 3 lz4 7d error: invalid value 'lz4' for '<COMPRESSION_ALGORITHM>': Unknown compression type: lz4 For more information, try '--help'. ``` 2. Create a new topic with `zstd` compression ```sh iggy -u iggy -p iggy topic create my-stream my-topic 3 zstd 7d error: invalid value 'zstd' for '<COMPRESSION_ALGORITHM>': Unknown compression type: zstd For more information, try '--help'. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
