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.