September 2017
Beginner to intermediate
360 pages
8h 13m
English
An opaque transactional spout has the following property:
OpaqueTridentKafkaSpout is a spout that has this property and is fault-tolerant to losing Kafka nodes. Whenever it's time for OpaqueTridentKafkaSpout to emit a batch, it emits tuples starting from where the last batch finished emitting. This ensures that no tuple is ever skipped or successfully processed by multiple batches.
Using the following statement in code we can define an opaque transactional spout with Kafka:
OpaqueTridentKafkaSpout otks = new OpaqueTridentKafkaSpout(new TridentKafkaConfig(new ...
Read now
Unlock full access