An example of using NATS for queue messaging. This example starts a service that publishes CPU metrics every second to a metrics-queue subject and queue group queuegroup1. The queue is subscribed to ...
$app['debug'] = true; $key = $_ENV['SQS_KEY']; $secret = $_ENV['SQS_SECRET']; $region = $_ENV['SQS_REGION']; $queueName = $_ENV['SQS_QUEUE_NAME']; $queueName2 = $_ENV ...