Join Slack
Powered by
Hi :slightly_smiling_face: Does somebody know how ...
# help
s
Steven Chandra
02/21/2022, 3:04 AM
Hi 🙂 Does somebody know how to create consumer function when using KinesisStream SST ? I need an example
f
Frank
02/21/2022, 3:33 AM
Hey Steven, r u looking for this
https://docs.serverless-stack.com/constructs/KinesisStream#using-the-minimal-config
?
Frank
02/21/2022, 3:37 AM
And the consumers look like this:
Copy code
export async function handler(event) { console.log(event); return {}; }
s
Steven Chandra
02/21/2022, 3:51 AM
Thanks Frank! I though there will be certain set for consumer function, but looks like it is not neccesary.
3
Views
Open in Slack
Previous
Next