This template consists of a Console application designed to consume messages pushed to an SQS queue.
The application is built using Proto.Actor for super fast processing :)
It also logs to Serilog and has both Console and Seq sinks configured.
Dequeuer.cs
- Actor responsible for dequeueing commands from the queueDeleter.cs
- Actor responsible for deleting commands in the queue after they've been processedDispatcher.cs
- Sample actor responsible for processing a specific commmand (ie. send an HTTP request)
ActorFactory.cs
- Class responsible for instantiating or getting an actorMessageMapper.cs
- Class responsible for mapping anSQSCommand
to a message that can be handled by an actor
To bring up your containers:
docker-compose up --build
This will bring up an instance of Seq, alpine SQS and the Consumer.