Hey, everyone.
And welcome back.
Now, in today's video, we'll look into how we can create a fee for you.
So let's go ahead and quickly create a queue.
Let's just call it as a demo and I'll select the option of fee for this thing.
Now, when you select option of fee four, there are additional configurations that are available like
content based deduplication and others.
So what we will be doing will be selecting this specific option.
We'll leave everything as default and let's go ahead and create a queue immediately.
You see, you got an error stating that the fee for queue name must end with FIFO, so you'll have to
add a fee for at the end and you can go ahead and create a queue.
Now, when we are discussing about the rescue types, we were studying the difference between a standard
and the fee for Q in a fee for Q.
We were discussing that the duplicates are not introduced in the fee for Q.
However, in standard Q occasionally you might see a duplicate.
So let's go ahead and quickly test this out.
Now, within year, let's go ahead and quickly send a message, the message body, I'll just say Hello
World and a message group ID, Let's just call it s demo, All right?
Once this is done, I'll quickly do a send message.
And here it states that your message has been sent now in a similar way.
Let's say hello world to let's send a message.
Again, the message has been sent.
This time.
Let's remove the two and we have Hello world.
So this is the same message as the message number one.
We'll go ahead and send it again.
So in total, we have sent three messages.
Now, if we go ahead and pull four messages, you will see that only two messages have been received.
The third message that we had sent of Hello World, it was indeed a duplicate and although it was successfully
sent, but you will never receive that specific message.
So if you look into the message body, here you have Hello world.
If you look into the message body.
Yeah, the Halo world, too.
All right.
Similarly, let's go ahead and try to send message of Halo World to once more.
I'll click on Send.
Let's try a few more times.
All right.
Now, if we pull four messages again, you see, the message count is not increasing.
It is staying at two.
Great.
So I hope with this at a high level overview, you understood on how duplicates, even though the messages
are sent by the application, but they are never received.
So with this will conclude today's video.