LewisW / dynamodb-stream-typesense

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dynamodb-stream-typesense

Dynamodb Streams => lambda [with dynamodb-stream-typesense] => typesense

Installation

npm install dynamodb-stream-typesense

Usage

import { pushStream } from "dynamodb-stream-typesense";

pushStream({
    event,
    index_name: INDEX_NAME,
    endpoint: TYPESENSE.TYPESENSE_ENDPOINT,
    apiKey: TYPESENSE.TYPE_API_KEY,
    logs: true
  })

logs is optional, default its false

hook cloudwatch logs so while debugging you can check issues

Contributing

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.

Author

praveenkumarKajla
praveenkumarKajla

Contributors

William Cadenas
William Cadenas

Inspired from

dynamodb-stream-elasticsearch

About

License:MIT License


Languages

Language:JavaScript 100.0%