I'm using a Google Cloud Platform Cloud Function. I trigger it via Pub/Sub. In the function logs, the messages are appearing in the order in which they were triggered (newest on top). But if I create a subscription to the published topic and view it in the console like this:
cloud beta pubsub subscriptions pull test_sub --limit 1000 --auto-ack
the messages appear in random order.
Any idea why?