ayeo-flex-org / pulsar-flex

Pulsar Flex is a modern Apache Pulsar client for Node.js, developed to be independent of C++.
MIT License
45 stars 9 forks source link

Producer keeps reconnecting after topic unload #68

Closed ronfarkash closed 3 years ago

ronfarkash commented 3 years ago

Describe the bug When a topic is unloaded the producer will keep reconnecting forever.

Reproduce Please provide reproduce, For example:

  1. Run a producer that continuously produces messages to a topic
  2. Send unload command to the broker to unload the mentioned topic.
  3. Watch the producer enter a reconnect loop.

Expected behavior It's expected from the producer to reconnect once.

Observed behavior Mentioned above.

Environment:

Additional context Nope.