Duplication of messages.

39 views
Skip to first unread message

Ravi Chikkam

unread,
Jul 19, 2014, 2:40:48 PM7/19/14
to cmb-use...@googlegroups.com
We are using CQS to send and receive messages. Some times same message is sent twice with a different messageId.  I like to understand if others faced this problem and anyone planning on a fix.

boriwo

unread,
Jul 21, 2014, 9:18:20 PM7/21/14
to cmb-use...@googlegroups.com
Do you mean the message is received twice or sent twice? Duplicate retrievals are ok per SQS API but should be rare and only occur in high concurrency scenarios when redis fails. Please provide some more details about your use case / test scenario so we can try reproduce this. Thanks!

Ravi Chikkam

unread,
Jul 22, 2014, 1:14:14 PM7/22/14
to cmb-use...@googlegroups.com
We are sending some tasks across using CMB/CQS. The recipient is receiving same task via different message.

Now that I know duplication is possible, I will use task id for enforcing idem potency of requests.

boriwo

unread,
Jul 22, 2014, 4:27:55 PM7/22/14
to cmb-use...@googlegroups.com
That's certainly a good idea - still I would be surprised if you get duplicates on a regular basis. Are you certain you have redis installed and cmb.properties configured to point to it? An excessive amount of duplicates is usually a sign of redis being down or not configured correctly in cmb.properties.
Reply all
Reply to author
Forward
0 new messages