Skip to content

Duplicate producer when create producer timeout #584

@freeznet

Description

@freeznet

When the broker or zookeeper is temporary offline, which will cause the producer timeout and re-connect to the broker. But if the broker has already done the previous create producer request, the reconnection will fail with an "already connected" error.

apache/pulsar#5571 has addressed this issue in Java client, but go client still encounter this issue.

#582 add epoch to go client to solve this issue.

Metadata

Metadata

Assignees

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