# Best Practices - Typical Exceptions in BulkProcessor

**URL:** <https://discuss.elastic.co/t/best-practices-typical-exceptions-in-bulkprocessor/81837>\
**Category:** Elasticsearch\
**Created:** [April 10, 2017, 2:32pm UTC](https://discuss.elastic.co/t/best-practices-typical-exceptions-in-bulkprocessor/81837 "2017-04-10T14:32:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Barrett\_Strausser](https://avatars.discourse-cdn.com/v4/letter/b/c89c15/32.png) [@Barrett\_Strausser](https://discuss.elastic.co/u/Barrett_Strausser)\
**Post date:** [April 10, 2017, 2:32pm UTC](https://discuss.elastic.co/t/best-practices-typical-exceptions-in-bulkprocessor/81837/1 "2017-04-10T14:32:43Z")

</div>

I'm looking for guidance on the top 3 or top 5 exceptions I might see in the BulkProcessors/Listener. What the names are what they might mean in terms of cluster health.

I'm new to development with the Java Client and so am not sure what to expect in production.

it seems like NodeNodeConnectedExceptions might be common?

I see that the BulkProcessor in 2.0 will handle throttling based on compute resources. Will this kick in before the Listeners afterBulk is called?

Thank you,

-b

---

<div class="post-metadata">

**Author:** ![s1monw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s1monw/32/3637_2.png) [@s1monw](https://discuss.elastic.co/u/s1monw)\
**Post date:** [April 18, 2017, 8:08am UTC](https://discuss.elastic.co/t/best-practices-typical-exceptions-in-bulkprocessor/81837/2 "2017-04-18T08:08:56Z")

</div>

I am not sure I can give you much guidance here but from an operational perspective all subclasses of `ConnectTransportException`are related to node to node connections or client to node connections. These should be resolved on the user end. There can still be critical exception that are related to document indexing etc. that can be a wide range of exceptions that should not be ignored in any way.

hope that helps

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 16, 2017, 8:15am UTC](https://discuss.elastic.co/t/best-practices-typical-exceptions-in-bulkprocessor/81837/3 "2017-05-16T08:15:15Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
