olivere/elastic

BulkProcessor ADD send on closed channel

cheaster062211 opened this issue · 2 comments

Please use the following questions as a guideline to help me answer
your issue/question without further inquiry. Thank you.

Which version of Elastic are you using?

[*] elastic.v7 (for Elasticsearch 7.x)
[ ] elastic.v6 (for Elasticsearch 6.x)
[ ] elastic.v5 (for Elasticsearch 5.x)
[ ] elastic.v3 (for Elasticsearch 2.x)
[ ] elastic.v2 (for Elasticsearch 1.x)

Please describe the expected behavior

When using the bulkProcessor add function, under what circumstances will panic

Please describe the actual behavior

Any steps to reproduce the behavior?

panic is send on closed channel What is the best posture to use bulkProcessor

There is a working recipe here. Notice that you should move to the official client ASAP.