Skip to content

Instantly share code, notes, and snippets.

@gabanox
Last active April 25, 2022 00:31
Show Gist options
  • Save gabanox/2a40fe70c0851952972d983644a93d2a to your computer and use it in GitHub Desktop.
Save gabanox/2a40fe70c0851952972d983644a93d2a to your computer and use it in GitHub Desktop.
import boto3
def publish_sqs_message():
client = boto3.client('sqs', region_name='us-east-1')
for i in range(100000000):
response = client.send_message(
QueueUrl='QueueURL',
MessageBody='Order # '+str(i)
)
print(response)
__main__ = publish_sqs_message()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment