I am novice to kafka stream processor, and came across the key-concept of "topology".
I created source processor which reads from a "source-topic" like this:
Topology topology = new Topology();
topology.addSource("SOURCE", "source-topic");
The above snippet would create (if my understanding is correct) a source stream processor named "SOURCE" and would listen for kafka topic "source-topic".
I didn't write any code for this "SOURCE" stream-processor, how is it able to get the messages from kafka topic? Is it a "special" type of stream-processor which is taken care by kafka stream API itself?
Can anyone help me understand this?