Skip to content

KafkaError (Client config error: Unsupported value "snappy" for configuration property "compression.codec": snappy not enabled at buildtime compression.type snappy.) #637

@65001

Description

@65001

I'm setting up a StreamConsumer and I'm doing:

let consumer : StreamConsumer = ClientConfig::new()
.set("compression.type", "snappy")
.set("security.protocol", "SASL_PLAINTEXT")
.set("sasl.mechanisms", "SCRAM-SHA-512")
...
.create()
.unwrap()

I'm using version 0.36 with the following features: cmake-build, ssl, zstd and libz on Windows 11.

When I connect to the kafka broker, I'm seeing, "KafkaError (Client config error: Unsupported value "snappy" for configuration property "compression.codec": snappy not enabled at buildtime compression.type snappy.)

Can you help me figure out what's going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions