Kinesis Producer library for NodeJS inspired by Kiner.
$ npm install @twaice/node-kinesis-producer
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);