@twaice/node-kinesis-producer
v0.0.4
Published
Kinesis Producer Library for NodeJs
Downloads
47
Readme
NodeJs Kinesis Producer
Description
Kinesis Producer library for NodeJS inspired by Kiner.
Installation
$ npm install @twaice/node-kinesis-producer
Usage
import KinesisProducer from '@twaice/node-kinesis-producer';
const producer = new KinesisProducer(
streamName: "stream-name",
clientConfig: {
region: "eu-west-1"
},
maxRetries: 10
);
const records = [{
Data: 'test'
}];
await producer.putRecords(records);