Decode kinesis data
parent
4fef378216
commit
220513f98c
File diff suppressed because one or more lines are too long
|
|
@ -145,7 +145,9 @@ 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++) {
|
||||||
core.info(
|
core.info(
|
||||||
zlib.deflateSync(Buffer.from(records.Records[index].Data, 'base64')).toString('utf8'),
|
zlib
|
||||||
|
.deflateRawSync(Buffer.from(records.Records[index].Data, 'base64'))
|
||||||
|
.toString('utf8'),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue