Skip to content

Empty Topics #14

@jadech32

Description

@jadech32

Currently when a topic becomes empty (all subscribers are unsubscribed), the topic is not removed from the topics map in the Broker struct.

Similarly, when a subscriber is detached from the broker it is:

  1. Marked as destroyed and channel is closed
  2. Unsubscribes from all topics, which goes back to my first case (empty topics aren't removed)

Why aren't empty topics being removed from the Broker?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions