Kine
Kine makes reading from an aws kinesis stream easy.
Features:
- Kinesis Client Library like functionality:
- coordination between multiple instances
- reads from all available shards
- start by passing in
init
andprocessRecords
callbacks - checkpointing in dynamo
How to use
var Kine = ; var kcl = ;
kcl.stop
A kine instance can be halted using stop
. This will cause any future events to bail out and
remove internal timers
var Kine = ; var kcl = ; kcl;
kcl.instanceInfo
An instance can be queried by record Partition Key. This allows applications to locate which shard and instance are responsible for particular records in the stream.
var Kine = ; var kcl = ; kcl;