Consume kinesis logs while task is RUNNING status
parent
93ee50cb1e
commit
31a35f9677
File diff suppressed because one or more lines are too long
|
|
@ -136,7 +136,7 @@ class AWS {
|
|||
while ((await getTaskStatus()) === 'RUNNING') {
|
||||
const records = await kinesis
|
||||
.getRecords({
|
||||
ShardIterator: iterator.ShardIterator,
|
||||
ShardIterator: iterator,
|
||||
})
|
||||
.promise();
|
||||
iterator = records.NextShardIterator;
|
||||
|
|
|
|||
Loading…
Reference in New Issue