You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ojasva Jain (Jira)" <ji...@apache.org> on 2026/10/05 09:00:00 UTC

[jira] [Commented] (KAFKA-14019) removeMembersFromConsumerGroup can't delete all members when there is no members already

    [ https://issues.apache.org/jira/browse/KAFKA-14019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18123297#comment-18123297 ] 

Ojasva Jain commented on KAFKA-14019:
-------------------------------------

[~chia7712] I confirmed that the bug still exists through [this|https://github.com/apache/kafka/compare/trunk...ojasvajain:kafka:KAFKA-14019-remove-all-members-empty-group] failing test case. The fix seems small - we need to ensure that we don't send a leave group request if there are no members to be removed, and return success. Can I assign this ticket to myself?

> removeMembersFromConsumerGroup can't delete all members when there is no members already
> ----------------------------------------------------------------------------------------
>
>                 Key: KAFKA-14019
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14019
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Chia-Ping Tsai
>            Priority: Minor
>
> The root cause is that the method fetch no member from server, so it fails to construct RemoveMembersFromConsumerGroupOptions (it can't accept empty list)
> It seems to me deleting all members from a "empty" list is valid.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)