Decode kinesis data
parent
fc537f8a02
commit
e7b10ba251
File diff suppressed because one or more lines are too long
|
|
@ -145,9 +145,10 @@ class AWS {
|
||||||
if (records.Records.length > 0) {
|
if (records.Records.length > 0) {
|
||||||
for (let index = 0; index < records.Records.length; index++) {
|
for (let index = 0; index < records.Records.length; index++) {
|
||||||
const record = records.Records[index].Data;
|
const record = records.Records[index].Data;
|
||||||
core.info(record.toString('base64'));
|
core.info(Buffer.from(record.toString('base64')).toString('utf8'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
await new Promise((resolve) => setTimeout(resolve, 3000));
|
||||||
}
|
}
|
||||||
|
|
||||||
await ECS.waitFor('tasksStopped', {
|
await ECS.waitFor('tasksStopped', {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue