Skip to content

Only one consumer created despite DISPATCHERS_MIN_REPLICAS=3 in kafka-controller #4648

@joke

Description

@joke

Hi,

Describe the bug

I'm not entire sure if this is the expected behavior or a bug.

I've set DISPATCHERS_MIN_REPLICAS=3 on the kafka-controller and also set min-scale: "3" in config-kafka-autoscaler.

The replicas are increased to 3. But if I look into kafka at the consumer group I only see connection with all the partitions assigned to it. The client ip matches exactly of one of the stateful kafka-channel-dispatcher replicas. The other two replicas do not participate in the consumer group.
Also only the configmap of the one replica is filled with json consumer information.

Best regards
Joke

Expected behavior

Usually I would expect all replicas to be configured to start joining in that consumer group and thus consuming messages.

To Reproduce

Set the DISPATCHERS_MIN_REPLICAS and min-scale

Connect with kafka and display the consumer group.

Knative release version

1.20

Additional context

Related issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions