I need to send more than one message to a single topic in just one second.
I have three Android devices and I'm trying to send multiple downstream messages to a topic (the three devices are subscribed to) in a short period of time (one second). Our server does ACK for the three of them.
In that moment, we send two messages to the topic, but one of them returns NACK with an error message of TOPICS_MESSAGE_RATE_EXCEEDED
.
And now, we retry to resend the message again, if time_to_live
doesn't expire first. In our case, that message tried re-sending again when the user clicks on it again. Is this the correct behavior?
Did anyone have this problem before? How is it solved?