# Batch size in logstash

**URL:** <https://discuss.elastic.co/t/batch-size-in-logstash/206919>\
**Category:** Logstash\
**Created:** [November 7, 2019, 7:53am UTC](https://discuss.elastic.co/t/batch-size-in-logstash/206919 "2019-11-07T07:53:58Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [November 7, 2019, 3:50pm UTC](https://discuss.elastic.co/t/batch-size-in-logstash/206919/5 "2019-11-07T15:50:44Z")

</div>

> [@amanpradhan](#):
>
> I am having the same problem . Does logstash processes the events out of order within a particular batch of events?

If pipeline.java\_execution is enabled (which became the default in v7.0) then logstash [will](https://github.com/elastic/logstash/issues/10938) re-order events even with pipeline.workers set to 1.

---

_[View the full topic](https://discuss.elastic.co/t/batch-size-in-logstash/206919)._
