Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 Kinesis 流处于活动状态并正在运行,我使用 KCL 库为它编写了一个生产者和一个消费者。有没有可能使用序列号和分区键访问特定记录的方法?
这似乎不可能。
分片通过 消耗GetRecords(),它要么从开头开始,要么从前一个调用继续。无法根据序列号“跳转”到记录。
GetRecords()