Skip to content

When a topic is deleted, connected clients should have their connection closed #3836

@digikata

Description

@digikata

Both producers and consumers should have their connections closed. This issue mainly affects consumers streaming records from a topic.

Preferably with a specific error (TopicDeleted or TopicNotAvailable).

Setup:

$ fluvio cluster create
$ fluvio topic create delete-me
$ fluvio consume delete-me

Action:

$ fluvio topic delete delete-me

Expectation:

# previous fluvio consume (cli or api)
$ fluvio consume delete-me
...
Connection closed: TopicDeleted

The SPU is already notified for topic deletes from the SC because it has to do work to delete the topic. Any connections associated with that topic need to be closed down by the SPU.

This is an task of intermediate difficulty, mentoring from Infinyon is available if you are interested in working on this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    SPUSPU relatedStreamControllerStreaming ControllerenhancementNew feature or requesthelp wantedGood issue for community involvementno-staleOpt-out of closing issue due to no activitytechnical debt

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions