What are the best practices, for building a multi-tenant app in the context of Kafka and storm?
For example: creating topic for each tenant and consume multi-topics spout (using wildcard).
I think that topic for each tenant is the right choice.
The naming convention might be something like this: topic_base_name_tenant_id.
The reasons are:
Now let's say that we will use different approach. For example, partition for each tenant. It might be problematic, since:
Sometimes you may need multiple topics per application. In that case you could follow the following topic naming convention: topic_base_name_tenant_id. So for a given base topic, you will have as many topics as the number of tenants
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With