8000 What is the ID parameter in the Message interface? · Issue #39 · ssut/nestjs-sqs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

What is the ID parameter in the Message interface? #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
igor17400 opened this issue Dec 21, 2022 · 3 comments
Open

What is the ID parameter in the Message interface? #39

igor17400 opened this issue Dec 21, 2022 · 3 comments

Comments

@igor17400
Copy link

I have started using the nestjs-sqs library and I didn't understand what should I pass as the id parameter (

id: string;
) in the Message interface.

Should it be a unique value every time I send a task to the queue? If yes, could I use uuid to define it?

@igor17400 igor17400 changed the title What is the ID parameter in the Message interface What is the ID parameter in the Message interface? Dec 21, 2022
@ludgerey
Copy link

I am interested in this too. If I understand this correctly the sqs endpoint should return an id. Why do I need to create it myself beforehand?

@ruscon
Copy link
ruscon commented Dec 14, 2023

@bmax
Copy link
bmax commented Mar 5, 2024

@ruscon in config above it says that it should use body (I imagine some hash or base64) as id if none is passed in, why is this required in nestjs-sqs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
0