Hi Warren If you're using the high level consumer, then you can just have multiple consumer groups (one for each purpose), and run 1 consumer thread per consumer group. On Mon, 25 May 2015 at 8:43 am Warren Henning <warren.henn...@gmail.com> wrote:
> I'm working on a simple web application where I want the same message of a > given topic to be consumed by multiple separate consumers (one that writes > to a database, another that writes to a search index like > Solr/Elasticsearch). > > Right now as this is just a small personal project I only have one > partition. > > What's the standard way of doing this? Single consumer, one thread for each > kind of consumer thread (two threads in this case)? Multiple consumers for > a single partition? > > I Googled and tried to look at the wiki but didn't get a clear answer. > Apologies if I missed something obvious. >