# Why 2 stream threads are handling events with same key?

**URL:** <https://forum.confluent.io/t/why-2-stream-threads-are-handling-events-with-same-key/6311>\
**Category:** Lounge\
**Created:** [19 October 2022 19:18 UTC](https://forum.confluent.io/t/why-2-stream-threads-are-handling-events-with-same-key/6311 "2022-10-19T19:18:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hanxue](https://avatars.discourse-cdn.com/v4/letter/h/53a042/32.png) [@Hanxue](https://forum.confluent.io/u/Hanxue)\
**Post date:** [19 October 2022 19:18 UTC](https://forum.confluent.io/t/why-2-stream-threads-are-handling-events-with-same-key/6311/1 "2022-10-19T19:18:01Z")

</div>

2718-3-1772 is the key for events, 4 events with same key, but they are handled by 2 stream theads, why? these 4 events are in same partition, right?

see attached 2818-3-1772 for events:

 ![2818-3-1772-events](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/2X/1/16eae551a36479ee1dd70cc12ee3e25ebd4e35d8.jpeg)

we have one topic, 12 partitions for the topic.  
8 application instances are running .
