socketio / socket.io-aws-sqs-adapter

The Socket.IO adapter for AWS Simple Queue Service (SQS), allowing to broadcast events between several Socket.IO servers.
https://www.npmjs.com/package/@socket.io/aws-sqs-adapter
MIT License
4 stars 1 forks source link

AWS SQS Emitter #5

Open FerdinandvHagen opened 2 months ago

FerdinandvHagen commented 2 months ago

Thank you very much for this adapter @darrachequesne! Looking forward to build with it.

I took the freedom to fork the redis-emitter and adjust it so it is using AWS SNS and is compatible with the adapter in this repository. It's available here: https://github.com/FerdinandvHagen/socket.io-sqs-emitter

I have also enabled LocalStack for the pipeline in order to test properly. Unfortunately there are some timing / race conditions with LocalStack so I had to add quite a lot of delays. Tests run fine on pipeline: https://github.com/FerdinandvHagen/socket.io-sqs-emitter/actions/runs/9893657701/job/27329307565

Feel free to add this to the official socket.io organization if you would like @darrachequesne.

Best,

Ferdinand

darrachequesne commented 1 month ago

@FerdinandvHagen awesome, thanks!

I will definitely add it to the organization, if that's OK for you.

FerdinandvHagen commented 1 month ago

Sure! Feel free to go ahead.