I've been working with Kafka Streams a bit and got some basic functionality working but I'm having some trouble wrapping my head around the process
method in the Kafka Streams DSL. Specifically:
I know there are two ways of using Kafka Streams, the lower-level Processing API and the higher level Streams DSL. With the lower level you more explicitly define your topology, naming each node and such while the Streams DSL abstracts most of that away.
However, the higher level Streams DSL has a method called process()
which is a terminal operation (i.e. the method returns void
). So my question is, where does the processed data - the data that the Processor
's void forward(key, value)
method sends - go?
In the lower level Processing API, you name you processor Node and can link Sink
s to that name but in the Streams DSL there is no name, or at least none that I can find.