# Logstash | pubsub |Consume the early message instead of the oldest?

**URL:** <https://discuss.elastic.co/t/logstash-pubsub-consume-the-early-message-instead-of-the-oldest/320802>\
**Category:** Logstash\
**Created:** [December 8, 2022, 3:13pm UTC](https://discuss.elastic.co/t/logstash-pubsub-consume-the-early-message-instead-of-the-oldest/320802 "2022-12-08T15:13:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dfraz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dfraz/32/101403_2.png) [@dfraz](https://discuss.elastic.co/u/dfraz)\
**Post date:** [December 8, 2022, 3:13pm UTC](https://discuss.elastic.co/t/logstash-pubsub-consume-the-early-message-instead-of-the-oldest/320802/1 "2022-12-08T15:13:50Z")

</div>

Hi

Could it be possible to configure logstash to consume the early messages in Pubsub instead of the oldest ?

thx for the help.

---

<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:** [January 5, 2023, 3:14pm UTC](https://discuss.elastic.co/t/logstash-pubsub-consume-the-early-message-instead-of-the-oldest/320802/2 "2023-01-05T15:14:09Z")

</div>

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