Achieving multitenancy in Druid

Hi team,

We have multiple customers and their analytical events are stored in same datasource. We use Kafka indexing service and each event message from kafka will contain the customerid (tenant_id).

Now how can I partition data based on the customerid ? How to specify it in the partitionsSpec ?

Thanks in Advance,

Vignesh R.

Can anyone please help me ?

Can anyone pls help me regarding this ?
I have no clue to proceed.