Package

com.weightwatchers.reactive.kinesis

stream

Permalink

package stream

Visibility
  1. Public
  2. All

Type Members

  1. trait CommittableEvent[+A] extends AnyRef

    Permalink

    The CommittableEvent is passed through the stream.

    The CommittableEvent is passed through the stream. Every event has to be committed explicitly.

  2. class KinesisSourceGraph extends GraphStage[SourceShape[CommittableEvent[ConsumerEvent]]] with LazyLogging

    Permalink

    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.

Value Members

  1. object Kinesis

    Permalink

    Main entry point for creating a Kinesis source and sink.

Ungrouped