# Shared subscription on wildcard topic: process events corresponding to specific topic in order

**URL:** <https://community.hivemq.com/t/shared-subscription-on-wildcard-topic-process-events-corresponding-to-specific-topic-in-order/1303>\
**Category:** Uncategorized\
**Created:** [July 10, 2022, 3:10pm UTC](https://community.hivemq.com/t/shared-subscription-on-wildcard-topic-process-events-corresponding-to-specific-topic-in-order/1303 "2022-07-10T15:10:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jui](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@Jui](https://community.hivemq.com/u/Jui)\
**Post date:** [July 10, 2022, 3:10pm UTC](https://community.hivemq.com/t/shared-subscription-on-wildcard-topic-process-events-corresponding-to-specific-topic-in-order/1303/1 "2022-07-10T15:10:50Z")

</div>

Hi,

I have a shared subscription on a wildcard topic: **$share/car-status/car/#/status**. At this moment, I have 4 consumers on this subscription, dividing the work, but this number might of course change over time.

Is it possible to process the events belonging to the same topic, for example **car/123/status** , in order? That is, I do not want to spread those events over multiple consumers, at least not in parallel. You could compare it with the behavior of consumer groups in Kafka.

Thank you.

---

<div class="post-metadata">

**Author:** ![Daria\_H](https://avatars.discourse-cdn.com/v4/letter/d/dfb087/32.png) [@Daria\_H](https://community.hivemq.com/u/Daria_H)\
**Post date:** [July 12, 2022, 12:17pm UTC](https://community.hivemq.com/t/shared-subscription-on-wildcard-topic-process-events-corresponding-to-specific-topic-in-order/1303/2 "2022-07-12T12:17:59Z")

</div>

Hi @Jui ,

You could use [HiveMQ Enterprise Extension for Kafka](https://www.hivemq.com/extension/hivemq-kafka-extension/) to map MQTT topics to Kafka topics and to transfer messages directly to Kafka. When messages are in Kafka, you can make use of Kafka consumer groups and other Kafka features.

You will find more on configuration in [HiveMQ Enterprise Extension for Kafka documentation](https://www.hivemq.com/docs/kafka/4.8/enterprise-extension-for-kafka/kafka.html).

I hope this helps  
Kind regards,  
Dasha from HiveMQ Team
