Typically you'd containerize your app and then launch e.g. 10 containers if you need to run 10 instances of your app.
Also, what do you mean by "in a cluster of Kafka containers" and "in the cluster of Kafkas"? On Tue, Mar 21, 2017 at 9:08 PM, Mina Aslani <aslanim...@gmail.com> wrote: > Hi, > > I am trying to understand how I can use a kafka stream app(jar file) in a > cluster of kafka containers. > > Kafka does not have master/slave concept (unlike spark), how I should run > my app in the cluster of kafkas (e.g. on one or multiple docker-machine/s)? > > I use below command line when having one VM/node with one kafka container > https://github.com/confluentinc/examples/blob/3. > 2.x/kafka-streams/src/main/ > java/io/confluent/examples/streams/WordCountLambdaExample.java#L55-L62 > > Best regards, > Mina >