Skip to content

segfault on unknown list_consumer_group_offsets #1982

@tmanninger

Description

@tmanninger

Problem: Accessing a non-existing consumer group offsets causes a segmentation fault.

Steps to Reproduce:

group = ConsumerGroupTopicPartitions(group_id = "non-existing-group")
kafkaAdmin.list_consumer_group_offsets([group])["not-existing-group"].result()

Expected Behavior:
This should throw an exception (like KafkaException or KeyError), not cause a segmentation fault.

Actual Behavior:
A segmentation fault occurs when trying to access a non-existing consumer group.

Version: confluent-kafka-python 2.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugReporting an unexpected or problematic behavior of the codebasecomponent:adminIssues tied specifically to admin logic or code pathspriority:highMaintainer triage tag for indicating high impact or criticality issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions