I have a usecase where i want to create topic and its consumer on demand i.e, when i host a product-1 for sale it should create a topic and consumer for product-1 and if i create product-2 it should create a topic and consumer for product-2.
creation of topic and consumer should be on-demand so that the traffic on one product should not affect other.
Im able to create new topic on demand and push new task to that topic and able to read it from same consumer which i have configured to read from dynamic topics using pattern, but stuck at creating consumer dedicated for that new topic on the go
can anyone please help me on how to create consumers on the go subscribing to a topic?