Dynamodb Streams => lambda [with dynamodb-stream-algolia] => algolia
npm install dynamodb-stream-algolia
import { pushStream } from "dynamodb-stream-algolia";
pushStream({
event,
index_name: INDEX_NAME,
appId: ALGOLIA.ALGOLIA_APP_ID,
adminKey: ALGOLIA.ALGOLIA_ADMIN_API_KEY,
logs: true
})
logs is optional, default its false
hook cloudwatch logs so while debugging you can check issues
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
praveenkumarKajla |
William Cadenas |