@netacea/kinesisingest
is a package designed to add Netacea Kinesis feedback functionality to your javascript based integration.
npm i @netacea/kinesisingest --save
yarn add @netacea/kinesisingest
import NetaceaKinesis from '@netacea/kinesisingest'
const netacea = new NetaceaKinesis({
kinesisStreamName: 'YOUR-NETACEA-KINESIS-STREAM-NAME',
kinesisAccessKey: 'YOUR-NETACEA-KINESIS-ACCESS-KEY',
kinesisSecretKey: 'YOUR-NETACEA-KINESIS-SECRET-KEY', //OPTIONAL - if secretsManagerSecretId is provided
secretsManagerSecretId: 'YOUR-OWN-SECRET-MANAGER-SECRET-ID',
apiKey: 'YOUR-NETACEA-API-KEY'
})
await kinesis.ingest({
key: 'value'
})