Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions integration-kinesis-to-lambda/example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export const functionHandler: KinesisStreamHandler = async (
logger.error(`An error occurred ${err}`);
throw err;
}
logger.info(`Successfully processed ${event.Records.length} records.`);
}
logger.info(`Successfully processed ${event.Records.length} records.`);
};

async function getRecordDataAsync(
Expand All @@ -38,4 +38,4 @@ async function getRecordDataAsync(
var data = Buffer.from(payload.data, "base64").toString("utf-8");
await Promise.resolve(1); //Placeholder for actual async work
return data;
}
}