# Kafka output module

**URL:** <https://discuss.elastic.co/t/kafka-output-module/230030>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [April 27, 2020, 8:55pm UTC](https://discuss.elastic.co/t/kafka-output-module/230030 "2020-04-27T20:55:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![suikast42](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suikast42/32/29865_2.png) [@suikast42](https://discuss.elastic.co/u/suikast42)\
**Post date:** [April 27, 2020, 8:55pm UTC](https://discuss.elastic.co/t/kafka-output-module/230030/1 "2020-04-27T20:55:06Z")

</div>

I installed metricbeat on 3 machines with key partition strategy. The key is the ecs host.hostname. So far so good. The partitioning works. But there is a little problem. Every three instances chooses the same partition. How can I tell the kafka output module to ship the metrics in a specific partition. I assume that the "problem" exists in filebat as well. I assume that's the same output module, isn't it?

IMHO a config option like partition.number: x can solve this issue.

---

<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 25, 2020, 10:55pm UTC](https://discuss.elastic.co/t/kafka-output-module/230030/2 "2020-05-25T22:55:09Z")

</div>

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