Hi, We are testing segment partitioning for REALTI...
# troubleshooting
s
Hi, We are testing segment partitioning for REALTIME tables (Kafka as source) , But unable to find the configurations on documentation page except
When emitting an event to kafka, a user need to feed partitioning key and partition function for Kafka producer API
. Can someone give insights on how it works internally? How to configure schema registry for Kafka record keys ?
s
Thanks Neha, Will check update you.
@Neha Pawar Ingested the data with the config mentioned in links. I see below info in metadata.properties file , is there any other way to validate partitioning is working as expected ?
Copy code
column.networkId.partitionFunction = Murmur
column.networkId.numPartitions = 2
column.networkId.partitionValues = 0,1
n
Looking at the metadata is the right way to verify.
But not sure why you are "0,1". Usually 1 segment consumes from 1 partition, and should only have one partition value
Is the partitioning being done at Kafka producer side?
s
Yes, currently we have 2 partitions for kafka topic
n
But did you set partitioner key as networkId on the producer?
s
Yes, we did
We have only one server in stage, does it creates any issues?