2 Answers
- Newest
- Most votes
- Most comments
0
AWS IoT does not guarantee the order of received messages :
The message broker doesn't guarantee the order in which messages and ACK are received.
Therefore, to use the order by
clause in Amazon Kinesis Analytics, you need to have an attribute in the MQTT payload that you can order on. Ideally it's your device that adds it e.g a sequence number or timestamp.
0
Definitely I will have attribute for order by, but my point if you don't have all of the record order by
will miss some of them, unless you wait all messages received and run order by
answered a year ago
Relevant content
- Accepted Answerasked 2 years ago
- Accepted Answerasked 3 years ago
- Accepted Answerasked 3 years ago
- AWS OFFICIALUpdated 24 days ago
- AWS OFFICIALUpdated 25 days ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 5 months ago