Hi,
I’m using Software AG Designer Version 10.7.I created a webMethods adapter for Apache Kafka. Connection type is Confluent for Kafka Consumer Connection.
I create adapter notification in service development perspective which takes an avro value schema. Recently I was given a schema which had a nested array in another array and both had the same name. This schema failed to load and in server logs I found below error:
Error Details:
Failed to run notificationLookupValues service. Details provided in error log.
schema contains circular dependency.
Caused by: java.lang.IllegalArgumentException: schema contains circular dependency.
Sample Extract of avro schema:
{
"name": "unitDetails",
"type": {
"items": {
"fields": [
{
"name": "num",
"type": "string"
},
{
"name": "id",
"type": "string"
},
{
"name": "unitDetails",
"type": {
"items": {
"fields": [
{
"name": "name",
"type": "string"
},
{
"name": "role",
"type": "string"
}
],
"name": "unitDetails_record_2",
"type": "record"
},
"type": "array"
}
}
],
"name": "unitDetails_record",
"type": "record"
},
"type": "array"
}
}
Kindly help to use such a schema which may have nested arrays with same name. The actual schema was validated properly and other team was able to send data.
— THANK YOU —