You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#319
### Motivation
Already created producer should not fail after new partition producers creation failure.
### Modifications
`ProducerImpl`: Add an option retryOnCreationError to control whether to retry on creation error
`PartitionedProducerImpl`: Use retryOnCreationError=true to create new partition producers
Search before asking
Version
OS: linux 4.14.105
Pulsar client: 3.1.0
Minimal reproduce step
What did you expect to see?
PartitionedProducer recreates failed producers, or producers continue to retry on failure.
What did you see instead?
The failed producers cause PartitionedProducer to fail.
Anything else?
Lazy producer seems to have a similar problem.
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: