We have found 2 regression bugs introduced in 0.12.0

1. SIGSEGV error in 0.12.0 with zstd compression enabled, when the
producer is shared between multiple
goroutines(https://github.com/apache/pulsar-client-go/issues/1163).
This issue has been fixed by
https://github.com/apache/pulsar-client-go/pull/1164. Thank
@ben(https://github.com/0x4500) for discovering and reporting this
issue.
2. Race condition issue when sending multiple messages concurrently.
This has also been fixed by
https://github.com/apache/pulsar-client-go/pull/1164

These two regression bugs arose because we refactored the producer's
publishing logic in version 0.12.0. We moved the message compression
and sequence ID assignment from the producer's internal goroutine to
the user's goroutine, which led to concurrency problems.

We need to trigger a new release 0.12.1 to address these bugs. Please
let me know if you have any PRs that need to be included in 0.12.1.

BR,
Zike Yang

Reply via email to