Yes. your scenarios are easy to implement using Kafka. Pl go through Kafka documentation and examples for better understanding of Kafka concepts, use cases and design.
https://kafka.apache.org/documentation.html https://github.com/apache/kafka/tree/trunk/examples On Tue, Mar 29, 2016 at 9:20 AM, Vinod Kakad <vinodka...@gmail.com> wrote: > Can we have multiple topics and multiple consumers but in a queue > implementation. > > for e.g. > There are 2 topics T1 and T2 and four consumers C1,C2,C3 and C4. > > can we have C1,C2,C3 subscribe to T1 and (C3,C4) subscribe to T2. and this > should work like a queue. i.e. T2 should send message to only C3 or C4. and > same in case of T1. > > is this possible by any means? > > Thanks & Regards, > Vinod Kakad. > > On Mon, Mar 28, 2016 at 8:16 PM, Gaurav Agarwal <gaurav130...@gmail.com> > wrote: > > > If you have consumer group id across multiple consumers then Kafka will > > work as queue only . > > On Mar 28, 2016 6:48 PM, "Sharninder" <sharnin...@gmail.com> wrote: > > > > > What kind of queue are you looking for? Kafka works as a nice FIFO > queue > > by > > > default anyway. > > > > > > > > > > > > On Mon, Mar 28, 2016 at 5:19 PM, Vinod Kakad <vinodka...@gmail.com> > > wrote: > > > > > > > Can anybody share any good example(code) for kafka as a queue > > > > implementation? > > > > > > > > Thanks & Regards, > > > > Vinod Kakad. > > > > > > > > > > > > > > > > -- > > > -- > > > Sharninder > > > > > >