camunda kafka producer and consumer connector

What should be the configuration for correlationkey(process) and correlationkey(payload)
in kafka consumer connector.
1)should the values of both be same then only consumer picks up the value from kafka?

pfb my request which consist of process variables myvalue and process instanceid
{
“myvalue”: {
“header”:{

    "correlationid":"014"  
},
"request ":
{
  "ordername":"2ndorder"
}

},
“processInstanceId”: “014”
}

now in kafka consumer in correlationkey(process) i set processInstanceId
and then in correlationkey(payload) i fetch correlationid

is this the right approach?

  1. Also i want to pass values in kafka message headers. how to configure that?