Octopus Energy Interview Question

How would you handle errors/undelivered messages in queues?