-
Notifications
You must be signed in to change notification settings - Fork 336
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] [issue 1064] Fix the panic when try to flush in DisableBatching…
…=true (#1065) Fixes #1064 ### Motivation If we set producer `DisableBatching=true`, it will be panic when call `producer.Flush()`. More details in #1064 . ### Modifications - Avoid panic in non-batching producer - Add unit test to cover `Flush()` in non-batching producer.
- Loading branch information
1 parent
9867c29
commit 4bfd4aa
Showing
2 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters