I would like to view SQS messages before they get picked up by sqsd on my Elastic Beanstalk intstance. Is there a way, once ssh'ed into the instance, that sqsd can be stopped / started as a service all together?
For the purpose of debugging you may stop sqsd by running sudo service aws-sqsd stop
on the instance. You can check the status by running sudo service aws-sqsd status
. Note this is not recommended for a production service but for the purpose of debugging you may try this.
来源:https://stackoverflow.com/questions/24172661/start-stop-sqsd-daemon-on-elastic-beanstalk-to-view-sqs-queue-messages