I am trying to send 1000's of messages in sequence using Amazon's Kinesis but messages being received by kinesis consumer is not in sequence. Things I have tried :
- Used
putRecord()
method to send with SequenceNumberForOrdering. Achieved ordered sequence with this but throughput is very less. - Used
putRecords
method to send but not successful. - Used KCL + Amazon's API consumer.