Hi,
You've segregated your data node infrastructure into Hot and Cold tiers, so something like "_hot_tier" and "_cold_tier", along with setting druid.server.tier in the historical config runtime.properties? That would make your spec essentially correct, and you'd only have to add:
{
"type" : "loadByPeriod",
"period" : "P3M",
"includeFuture" : true,
"tieredReplicants": {
"hot": 2,
"_hot_tier":2
}
}
{
"type" : "loadByPeriod",
"period" : "P1Y",
"includeFuture" : true,
"tieredReplicants": {
"cold": 2,
"_cold_tier":2
}
}
Then make sure to update druid.broker.segment.watchedTiers in the broker's runtime.properties. Something like:
druid.broker.segment.watchedTiers=["_hot_tier", “_cold_tier”]
Finally, you can configure the router to ensure that queries are being sent to the right broker for a given tier. Something like:
Broker 1: `druid.service=druid/broker-hot`
Broker 2: `druid.service=druid/broker-cold`
druid.router.tierToBrokerMap={"_hot_tier": "druid/broker-hot", "_cold_tier": "druid/broker-cold"}
Let us know how it goes.