Skip to content

producer.sendAsync is interrupted by client.close() #11780

Open

Description

@geomagilles

Describe the bug
If the client closes while sendAsync() is processed, the message is lost.

To Reproduce
see https://github.com/infiniticio/pulsar-bug-clientAsync

Expected behavior
The message should be sent before actually closing the client (https://apache-pulsar.slack.com/archives/C5Z4T36F7/p1629752614463900?thread_ts=1629723649.441700&cid=C5Z4T36F7)

Additional context
none

Activity

  1. avirlrma commented on Aug 31, 2021

    @avirlrma

    Hi folks,

    Can I take this up?

  2. codelipenghui commented on Mar 4, 2022

    @codelipenghui
    Contributor

    The issue had no activity for 30 days, mark with Stale label.

  3. geomagilles commented on Mar 4, 2022

    @geomagilles
    ContributorAuthor

    @codelipenghui: @avirlrma proposed to help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions