Process every record from kinesis as b64 buffer
parent
6e4a7fa680
commit
1f8ad273a3
File diff suppressed because one or more lines are too long
|
|
@ -143,9 +143,7 @@ class AWS {
|
|||
if (records.Records.length > 0) {
|
||||
for (let index = 0; index < records.Records.length; index++) {
|
||||
const element = records.Records[index];
|
||||
core.info(
|
||||
Buffer.from(element.Data.toString('utf8'), 'base64').toString('utf8'),
|
||||
);
|
||||
core.info(Buffer.from(element.Data.toString('utf8'), 'base64').toString('utf8'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue