Skip to content

[Bug]: Delete the consumer when delete topic #4308

@fraidev

Description

@fraidev

When deleting a topic with consumers, their consumer should also be deleted.

Steps for the bug:

▷ flvd consumer list
  CONSUMER       TOPIC                                 PARTITION  OFFSET  LAST SEEN
  test-consumer  0689fe79-75d8-4346-9ab8-63a70de714e7  0          1       8s

▷ flvd topic list                                                                                                                                       $! add_offset_management_integration
  NAME                                  TYPE      PARTITIONS  REPLICAS  RETENTION TIME  COMPRESSION  DEDUPLICATION  STATUS                   REASON
  foobar                                computed  1           1         7days           any          none           resolution::provisioned
  0689fe79-75d8-4346-9ab8-63a70de714e7  computed  1           1         7days           any          none           resolution::provisioned

▷ flvd topic delete 0689fe79-75d8-4346-9ab8-63a70de714e7
topic "0689fe79-75d8-4346-9ab8-63a70de714e7" deleted

▷ flvd topic list
  NAME                                  TYPE      PARTITIONS  REPLICAS  RETENTION TIME  COMPRESSION  DEDUPLICATION  STATUS                   REASON
  foobar                                computed  1           1         7days           any          none           resolution::provisioned

~/workspace/infinyon/fluvio-client-python
▷ flvd consumer list
  CONSUMER       TOPIC                                 PARTITION  OFFSET  LAST SEEN
  test-consumer  0689fe79-75d8-4346-9ab8-63a70de714e7  0          1       42s

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingno-issue-activityno-staleOpt-out of closing issue due to no activity

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions