Skip to content

Kminion consumer group info gathering incompatible with Kafka 4.1.0 #314

@schustersv

Description

@schustersv

Running Kminion 2.2.14, connecting to an Apache Kafka cluster that was recently upgraded to version 4.1.0.
Since that upgrade, Kminion isn't able to retrieve consumer group info any more. For each attempt to read consumer offsets, the following lines are logged:

{"level":"warn","ts":"2025-09-24T06:32:18.035Z","logger":"main.minion_service","msg":"failed to decode offset commit value","topic":"__consumer_offsets","partition_id":21,"offset":2259385709,"error":"response did not contain enough data to be valid"} {"level":"warn","ts":"2025-09-24T06:32:18.035Z","logger":"main.minion_service","msg":"failed to decode offset record","error":"failed to decode offset commit value: response did not contain enough data to be valid"}

This leads to no consumer lag, offset commit and related metrics being reported any more, rendering Kminion unusable for monitoring consumer groups.

Kafka's kafka-consumer-groups cli tool can read the offsets fine on version 4.1.0, but either it has been updated to whatever changes have been made to consumer offsets topic or it's using an internal API instead of relying on reading consumer offsets directly.

Is this issue already known? Have other come across this?

Metadata

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