# Bulk Processor api not working

**URL:** <https://discuss.elastic.co/t/bulk-processor-api-not-working/68674>\
**Category:** Elasticsearch\
**Created:** [December 12, 2016, 8:09am UTC](https://discuss.elastic.co/t/bulk-processor-api-not-working/68674 "2016-12-12T08:09:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 12, 2016, 9:28am UTC](https://discuss.elastic.co/t/bulk-processor-api-not-working/68674/2 "2016-12-12T09:28:15Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

I edited your question.

Just a comment here. Don't send bulk requests every 5ms. It does not make sense.  
Use something like 5s, even more.

Not sure it would help.

The other part of the code looks ok.

---

_[View the full topic](https://discuss.elastic.co/t/bulk-processor-api-not-working/68674)._
