@twaice/node-kinesis-producer
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

NodeJs Kinesis Producer

Logo

npm (scoped) CI codecov Maintenance GitHub

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);

Readme

Keywords

Package Sidebar

Install

npm i @twaice/node-kinesis-producer

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

69.1 kB

Total Files

24

Last publish

Collaborators

  • t31m