Skip to content

Is the SQS Client thread safe? #1947

Answered by RanVaknin
rodney-b asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @rodney-b ,

Yes the v2 client is the same as v1 in terms of thread safety.

use the same client across multiple goroutines to publish (client.SendMessage(ctx, input)) concurrently? Is this the recommended practice?

yes.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by RanVaknin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants