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 2 years ago
Relevant content
- Accepted Answerasked 2 years ago
- Accepted Answerasked 4 years ago
- Accepted Answerasked 4 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago