Hello Guozhang:

Actually, you are right. I implemented a custom partitioner to distribute
messages evenly among all partitions and started to see all consumers
working!

Thanks a lot!

Best
Gustavo

2018-01-24 19:40 GMT-02:00 Guozhang Wang <wangg...@gmail.com>:

> Hello Gustavo,
>
> How did you check that the second app's consumers does not consume
> anything? And could you confirm that there are indeed data in these two
> partitions that are fetchable?
>
>
> Guozhang
>
>
> On Wed, Jan 24, 2018 at 8:57 AM, Gustavo Torres <gustavo.tor...@catho.com>
> wrote:
>
> > Hi there:
> >
> > This is the first time I'm posting on the mailing list. Actually, it's
> the
> > first time I'm working with Kafka and I'm having trouble setting up a
> Kafka
> > Streams app (using Kafka 1.0).
> >
> > I have two instances of my app, each one running a Kafka Stream and both
> > having the same AppID.
> > My topic has 4 partitions and each stream is configured with 2 threads.
> >
> > I verified that both streams have partitions assigned and both states are
> > Running.
> >
> > The problem I'm having is this: the first app runs and starts consuming 2
> > partitions while the second one consumes nothing although its state is
> > Running.
> >
> > I will appreciate any help with this issue since I've trying to solve
> this
> > for days!
> >
> > Best
> > Gustavo
> >
>
>
>
> --
> -- Guozhang
>



-- 
[image: Catho]

*Gustavo Torres*
*Especialista em InteligĂȘncia Artificial - SeekAI*

www.catho.com.br
<https://www.facebook.com/catho.com.br>
<http://www.youtube.com/user/Cathonoticias>
<https://plus.google.com/u/0/+catho/posts> <https://twitter.com/Catho>
<https://www.linkedin.com/company/16645>

Reply via email to