Kafka connector with Avro schema not working

Hi,
I am using the Kafka connector with Avro schema but it’s giving the null response.
Can you to resolve this.
I am using the 8.4 version.

Hey @avinashkumar ,

Thanks for reaching out :slight_smile:

Could you provide some more context please, such as:

  • The bpmn process
  • or the complete connector configuration (element template)
  • any other information you think that could help

Thanks,

Jonathan


I am using the Kafka connector with avro schema and the schema is below,
{
“type”: “record”,
“name”: “ABPBusinessPlanFinalizedAvro”,
“namespace”: “abp.messaging.kafka.avro.model”,
“fields”: [
{
“name”: “branchManagerEmail”,
“type”: {
“type”: “string”,
“avro.java.string”: “String”
}
},
{
“name”: “fieldManagerEmail”,
“type”: {
“type”: “string”,
“avro.java.string”: “String”
}
},
{
“name”: “intermediaryManagerEmail”,
“type”: {
“type”: “string”,
“avro.java.string”: “String”
}
},
{
“name”: “organizationUnit”,
“type”: {
“type”: “string”,
“avro.java.string”: “String”
}
},
{
“name”: “threshold”,
“type”: {
“type”: “string”,
“avro.java.string”: “String”
}
}
]
}

It’s giving me null response.

It’s giving me null response.

What do you mean here? That payload is null in Operate?

Did you try to consume messages from this topic with this schema, using other tools like kafka-console-consumer.sh and similar?

Payload is my response/output variable name

Ok, and did you try consuming your message with this schema without Camunda to ensure everything is working as expected?

Did you try to consume messages from this topic with this schema, using other tools like kafka-console-consumer.sh and similar?

See this link if you need some examples.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.