com.weightwatchers.reactive.kinesis.consumer
The collection of configuration values required for constructing a consumer.
The collection of configuration values required for constructing a consumer.
the AWS KCL Configuration.
the configuration for the worker
the configuration for the checkpointer
an optional dispatcher to be used by this consumer
CompanionObject object for the ConsumerConf.
Creates an instance of the KinesisConsumer along with a ConsumerWorker which will be shared among shards.
Creates an instance of the KinesisConsumer along with a ConsumerWorker
which will be shared among shards.
- The eventProcessor MUST handle
com.weightwatchers.reactive.kinesis.consumer.ConsumerWorker.ProcessEvent messages (for each message)
- The eventProcesser MUST respond with com.weightwatchers.reactive.kinesis.consumer.ConsumerWorker.EventProcessed after
processing of the com.weightwatchers.reactive.kinesis.consumer.ConsumerWorker.ProcessEvent
- The eventProcessor may set successful
to false to indicate the message can be skipped
- The eventProcesser SHOULD handle com.weightwatchers.reactive.kinesis.consumer.ConsumerWorker.ConsumerWorkerFailure
messages which signal a critical failure in the Consumer.
- The eventProcessor SHOULD handle com.weightwatchers.reactive.kinesis.consumer.ConsumerWorker.ConsumerShutdown
messages which siganl a graceful shutdown of the Consumer.
The consumer specific configuration, containing all configuration required for this consumer instance.
see ConsumerWorker for more information.
Creates an instance of the KinesisConsumer along with a ConsumerWorker which will be shared among shards.
Creates an instance of the KinesisConsumer along with a ConsumerWorker which will be shared among shards.
The consumer specific configuration, containing all configuration required for this consumer instance.
see ConsumerWorker.