Skip to content

Memory leak when using JetstreamContext.publish() #793

@almostintuitive

Description

@almostintuitive

Observed behavior

JetstreamContext's .publish() creates a very visible and easily reproducible memory leak.
We accidentally used it instead of the Client.
Switched over to Client's .publish, suddenly the memory leak is gone and publishing a message is a lot faster.

Expected behavior

Client's .publish() and JetstreamContext's .publish() to behave the same way.

Server and client version

2.12.0

Host environment

No response

Steps to reproduce

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectSuspected defect such as a bug or regression

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions