Skip to content

[Bug] TCP reconnection failed #4236

@1404369980

Description

@1404369980

Search before asking

  • I had searched in the issues and found no similar issues.

Environment

Windows

EventMesh version

master

What happened

TCP reconnection failed

How to reproduce

  • run class org.apache.eventmesh.tcp.demo.sub.cloudevents.AsyncSubscribe
  • use idea breakpoint 30s

Debug logs

image

When TCP timeout reconnects,it will make a mistake, The following is the complete error message:

org.apache.eventmesh.client.tcp.impl.cloudevent.CloudEventTCPPubClient$cloudEventTCPPubHandler is not a @Sharable handler, so can't be added or removed multiple times.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions