Skip to content

[Bug][broker] Producer still publishes messages to Broker after Topic was unloaded. #24792

@zhouyifan279

Description

@zhouyifan279

Search before reporting

  • I searched in the issues and found nothing similar.

Read release policy

  • I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.

User environment

Broker version: 4.1.0

Issue Description

After unloading a bundle with many non-persistent topics from Broker, we found some producers in ProducerAccessMode.Shared mode were still publishing messages to the broker. Even thought the topic was not loaded by the broker any more.

Error messages


Reproducing the issue

Run AbstractTopicTest#testOverwriteOldProducerAfterTopicClosed

Additional information

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThe PR fixed a bug or issue reported a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions