SQS messages should have the same payload structure as the Publish API endpoint.
{ "tenant_id": "<TENANT_ID>", "destination_id": "<DESTINATION_ID>", // Optional. Provide a way of routing events to a specific destination "topic": "topic.name", // Topic defined in TOPICS environment variable "eligible_for_retry": true | false, // Should event delivery be retried? Default is true. "metadata": Payload, // can be any JSON payload, "data": Payload // can be any JSON payload}
Optionally, you can provide the PUBLISH_AWS_SQS_ENDPOINT environment variable to specify the endpoint URL for the SQS service. This can be useful for local development or when using a non-standard SQS endpoint.
publishmq: aws_sqs: region: <AWS_REGION> queue: <QUEUE_NAME> access_key_id: <KEY_ID> secret_access_key: <SECRET> # Optional. # Useful for local development or when using a non-standard SQS endpoint. endpoint: <URL>