2

I have a stream implemented using the high-level Kafka Streams KStream API and would like to attach two consecutive processors to this stream.

The KStream API provides a process method, however that method does not return anything so I assume it mutates the topology.

After the first processor I would like to attach a second one however and it's not entirely clear to me which object I can add the downstream processor to.

Any ideas?

tazjin
  • 673
  • 5
  • 9
  • 2
    Did you consider using `transform()` instead of `process()`? – Matthias J. Sax Nov 25 '16 at 07:06
  • 1
    Possible duplicate of [How to filter keys and value with a Processor using Kafka Stream DSL](http://stackoverflow.com/questions/40814437/how-to-filter-keys-and-value-with-a-processor-using-kafka-stream-dsl) – Matthias J. Sax Nov 29 '16 at 20:44

0 Answers0