# Why there is no close() method for BulkRequestBuilder or BulkRequest in Elasticsearch 5.6.9?

**URL:** <https://discuss.elastic.co/t/why-there-is-no-close-method-for-bulkrequestbuilder-or-bulkrequest-in-elasticsearch-5-6-9/139165>\
**Category:** Elasticsearch\
**Created:** [July 9, 2018, 12:15pm UTC](https://discuss.elastic.co/t/why-there-is-no-close-method-for-bulkrequestbuilder-or-bulkrequest-in-elasticsearch-5-6-9/139165 "2018-07-09T12:15:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kant\_kodali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kant_kodali/32/50637_2.png) [@kant\_kodali](https://discuss.elastic.co/u/kant_kodali)\
**Post date:** [July 9, 2018, 12:15pm UTC](https://discuss.elastic.co/t/why-there-is-no-close-method-for-bulkrequestbuilder-or-bulkrequest-in-elasticsearch-5-6-9/139165/1 "2018-07-09T12:15:18Z")

</div>

Why there is no close() method for BulkRequestBuilder or BulkRequest in Elasticsearch 5.6.9?

It looks to me the number of file descriptors monotonically increases over time as I insert more and records from Kafka to ES and eventually run of fd's no matter what the ulimit is?

---

<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:** [August 6, 2018, 12:20pm UTC](https://discuss.elastic.co/t/why-there-is-no-close-method-for-bulkrequestbuilder-or-bulkrequest-in-elasticsearch-5-6-9/139165/2 "2018-08-06T12:20:10Z")

</div>

Closed on August 6, 2018, 12:20pm UTC

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