Decode kinesis data
parent
f2d380afc1
commit
9c1fd562f4
File diff suppressed because one or more lines are too long
|
|
@ -145,7 +145,7 @@ 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(Buffer.from(record).toString('ascii'));
|
core.info(record.toString('ascii'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue