gwenshap / kafka-streams-wordcount

Apache License 2.0
60 stars 46 forks source link

Question: stream app communication #3

Closed snowch closed 7 years ago

snowch commented 7 years ago

Excerpt from the book ...

The main different is that if your input topic contains multiple partitions, you can run multiple instances of the WordCount application (just run the app in several different terminal tabs) and this gives you your first Kafka Streams processing cluster. The instances of the WordCount application itself talk to each other and coordinate the work.

Do stream applications communicate directly with each other (and require network connectivity), or do they talk to each other indirectly via a kafka topic?

Apologies if this is not the right forum for this question.

snowch commented 7 years ago

Later in the chapter, it is clarified that communication is done via the broker.