Skip to content

Established connections exit when Mode=Both #19

Description

@DemonZack

When Mode=Both, connections that have already been established exit. Normally, Both Close and Stop() cannot exit properly

Close() notifies watchNotifyClose and reestablishes the connection. Stop() only exits Consumer, but Producter does not exit properly

Therefore, it is recommended to adjust at watchNotifyClose and then complete consumer and producer exit via Close() or Stop()

image

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions