Skip to content

[Event Hubs] MaxListenersExceededWarning when stopping a subscription #34180

@spdaley

Description

@spdaley
  • Package Name: @azure/event-hubs
  • Package Version: 6.0.0
  • Operating system: Linux
  • nodejs
    • version: v22.14.0
  • typescript
    • version: 5.8.3
  • Is the bug related to documentation in

Describe the bug
Node reports MaxListenersExceededWarning when stopping a subscription with more than 10 partitions.
This issue was previously reported in #29186 but that was eventually closed as amqp/rhea issue amqp/rhea#418

The rhea developers state that there is no issue with their library and that this should be taken care of by the application library so opening up a new issue here to see if there is agreement on that.

To Reproduce
Steps to reproduce the behavior:
Follow the steps as documented in #29186

Expected behavior
No node warnings.

Additional context
See the linked issues for more info:
#29186
amqp/rhea#418

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.Event Hubscustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions