Skip to content

gzip and snappy compression not working when min Produce RPC version is set to 3 on broker side #4956

Open
@pranavrth

Description

With the KIP-896 support in AK, gzip and snappy compression not working when min Produce RPC version is set to 3.

Test in 0077.c fails when the broker supports v3 as min version. The produce request falls back to producing without compression in librdkafka.

Logs shows something like this:

%5|1737669142.910|COMPRESSION|0077_compaction#producer-342| [thrd:localhost:58967/bootstrap]: localhost:58967/3: rdkafkatest_rnd15be1a9b23929650_0077-compaction.c [0]: Broker does not support compression type gzip: not compressing batch

%5|1737669116.239|COMPRESSION|0077_compaction#producer-322| [thrd:localhost:40627/bootstrap]: localhost:40627/2: rdkafkatest_rnd49c8fc9d6fbd0db3_0077-compaction.c [0]: Broker does not support compression type snappy: not compressing batch

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions