Nondeterministic Polynomial Munchies

    kinesis-writable

    1.0.0 • Public • Published

    Kinesis Writable

    npm install kinesis-writable
    

    Stream data to an AWS Kinesis stream as fast as possible — but no faster.

    Newline are treated as delimiters.

    Example

    // stdin.js
    var kpw = require('kinesis-writable')
    var stream = kpw.create('your-stream-name', {region: 'us-west-2'}, function (data) {
      return doSomethingWithDataToDecidePartitionKey(data)
    })
    process.stdin.pipe(stream)
    echo -n "hello\nworld" | node stdin.js
    
    # Writes "hello" and "world" as individual records to Kinesis
    

    Keywords

    none

    Install

    npm i kinesis-writable

    DownloadsWeekly Downloads

    6

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • evansolomon