I am using one AWS SQS for sending the emails. The listener receives the json of the email and directly processes it. Now, I also need to send one more message type (lets say otp or alert) and these will have its own json structure.
Can I use the same SQS Queue for posting these different type of messages as my volume is very low or should I go ahead and create multiple SQS Queue for each message type.
If you want to use one queue, you need a lambda function which is going to do the actual filtering of these messages. And then based on the filter outcomes, the lambda function would take further actions, e.g. send some notifications using SNS.