-
Bug
-
Resolution: Not a Bug
-
Undefined
-
None
-
Logging 5.9.0
-
False
-
None
-
False
-
NEW
-
OBSDA-549 - Reliability and performance tuning for log collection
-
NEW
-
Bug Fix
-
-
Description of problem:
When compression=gzip, vector can not forward logs to kafka.
oc logs clf-logs-djv92 Creating the directory used for persisting Vector state /var/lib/vector/amq-aosqe/clf-logs Starting Vector process... 2024-03-14T15:20:59.950615Z ERROR vector::topology::builder: Configuration error. error=Sink "output_kafka_app": creating kafka producer failed: Client config error: Unsupported value "gzip" for configuration property "compression.codec": zlib not available at build time compression.codec gzip
When compression=zlib, vector can not forward logs to kafka.
oc logs clf-logs-6n4hm Creating the directory used for persisting Vector state /var/lib/vector/amq-aosqe/clf-logs Starting Vector process... 2024-03-14T15:21:52.924203Z ERROR vector::cli: Configuration error. error=unknown variant `zlib`, expected one of `none`, `gzip`, `snappy`, `lz4`, `zstd`
Steps to Reproduce:
- Deploy AMQ Stream(kafka 2.6)
- Forward logs to kafka using compression=gzip
Expected results:
Fix the gzip error in upstream.
Address the supported compression `none`, `snappy`, `lz4`, `zstd`