How do you handle the case of a consumer goes down and come back online again?

This is a broker responsibility. RabbitMQ redeliver a message if the consumer disconnected or did not acknowledge the message. Amazon SQS has a graceful timeout and if the consumer exceed that time the message re added to the queue again.

I blogged about RabbitMQ redelivery some time ago

Like what you read? Give Max Kotliar a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.