The CommittableEvent is passed through the stream.
A KinesisSinkGraph will attach to a kinesis stream with the provided configuration and constitute a Sink[ProducerEvent, Future[Done].
A KinesisSinkGraph will attach to a kinesis stream with the provided configuration and constitute a Sink[ProducerEvent, Future[Done]. This graph stage uses a producer actor to publish events with acknowledgements.
A KinesisSourceGraph will attach to a kinesis stream with the provided configuration and constitute a Source[KinesisEvent, NotUsed].
A KinesisSourceGraph will attach to a kinesis stream with the provided configuration and constitute a Source[KinesisEvent, NotUsed]. Usage:
val config = ConfigFactory.load() val consumerConfig = ConsumerConf(config.getConfig("kinesis"), "some-consumer") val source = Source.fromGraph(new KinesisSourceGraph(consumerConf, system))
Assuming a configuration file like this:
kinesis { application-name = "SampleService" some-consumer { stream-name = "sample-consumer" } }
See reference.conf for a list of all available config options.
Main entry point for creating a Kinesis source and sink.
The CommittableEvent is passed through the stream. Every event has to be committed explicitly.