# Multiple Output with Slow and Fast Receiving End

**URL:** https://discuss.elastic.co/t/multiple-output-with-slow-and-fast-receiving-end/76010
**Category:** Logstash
**Created:** [February 22, 2017, 9:57am UTC](https://discuss.elastic.co/t/multiple-output-with-slow-and-fast-receiving-end/76010 "2017-02-22T09:57:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![gringo](https://avatars.discourse-cdn.com/v4/letter/g/f19dbf/32.png) [@gringo](https://discuss.elastic.co/u/gringo)
#### Post date: [February 22, 2017, 9:57am UTC](https://discuss.elastic.co/t/multiple-output-with-slow-and-fast-receiving-end/76010/1 "2017-02-22T09:57:02Z")

</div>

In a situation where I have 2 or more output e.g. an elasticsearch and a kafka. If kafka is very slow and elasticsearch is very fast. What will happen to the reading speed of logstash? Will logstash wait for kafka before parsing new lines of logs? If yes. Will this slow the number of parse events going into elasticsearch as logstash waits for kafka?

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [February 22, 2017, 2:28pm UTC](https://discuss.elastic.co/t/multiple-output-with-slow-and-fast-receiving-end/76010/2 "2017-02-22T14:28:54Z")

</div>

Yes, the speed of the entire pipeline will be determined by the slowest output, assuming each batch holds event that need to go to both outputs.

---

<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: [March 22, 2017, 2:29pm UTC](https://discuss.elastic.co/t/multiple-output-with-slow-and-fast-receiving-end/76010/3 "2017-03-22T14:29:09Z")

</div>

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