Describe the bug
When consuming messages, a memory leak is created due to unresolved promises. After leaving the consumer on for a while, a heap snapshot will show an increasing number of promise references.
Reproduce
Run a Consumer that continuously reads messages.
Watch the process memory go up as time passes.
Expected behavior
The process memory to stay stable.
Describe the bug When consuming messages, a memory leak is created due to unresolved promises. After leaving the consumer on for a while, a heap snapshot will show an increasing number of promise references.
Reproduce
Expected behavior The process memory to stay stable.
Observed behavior Explained above.
Environment: