hey team. wondering how is pinot upsert realtime t...
# general
c
hey team. wondering how is pinot upsert realtime table get partitioned into segments? is it based on the time col or the kafka message key? thanks
@Jackie
j
Take a look at this doc and see if it answers your question
Essentially primary key should already be partitioned on the Kafka side
There is no extra partition on pinot side
c
ah. got it. thanks.
Follow up question: given the messages with same key will always go to same server, wondering if there will be hot spot issue? Like some keys are frequently updated.
j
Possible if the data distribution is very skewed. In normal case, the cardinality of the primary key is usually high. Given much fewer partitions than the keys, the data within each partition is more or less evenly distributed