Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSUE-749: Panic occurred when a producer associated with a KeyBasedBatchBuilder. #267

Open
sijie opened this issue Mar 16, 2022 · 1 comment

Comments

@sijie
Copy link
Member

sijie commented Mar 16, 2022

Original Issue: apache#749


Function internalFlushCurrentBatch, this line of code, should not be invoked if the batch builder associated with the producer is a multi batches container.

Potential Fix:
Using internalFlushCurrentBatches instead, if the associated batch builder is a multi batches container.

		if p.batchBuilder.IsMultiBatches() {
			p.internalFlushCurrentBatches()
		} else {
			p.internalFlushCurrentBatch()
		}
@shileiyu
Copy link

PR: apache#750
CI passed on 2.8.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants