ClickHouse / ClickHouse/ClickHouse

engine=Kafka metric KafkaAssignedPartitions is incorrect since 25.3

Open
#81,950 0 comments 0 reactions 0 assignees View on GitHub
comp-message-queues external potential bug
Dominant language
C++
Stars
49.9k
Forks
9k
Avg merge
21h 32m
Merged PRs (30d)
515

Description

### Company or project name

_No response_

### Describe what's wrong

after the upgrade to 25.3 there is a 'leak' of KafkaAssignedPartitions metric.

### Does it reproduce on the most recent release?

Yes

### How to reproduce

create and drop some kafka tables

### Expected behavior

the metric get decremented when the consumer is dropped

### Error message and/or stacktrace

_No response_

### Additional context

after https://github.com/ClickHouse/ClickHouse/pull/76621 The engine=Kafka no longer explicitly leaves the consumer group when a table is dropped. So the metric is not decremented.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.