admin管理员组文章数量:1335832
I'm trying to use the following schema for reading xml file with XMLReader service:
{
"name": "test",
"namespace": "nifi",
"type": "record",
"fields": [
{
"name": "root",
"type": {
"name": "RecordForTag",
"type": "record",
"fields": [
{
"name": "nested1",
"type": {
"name": "RecordForTag",
"type": "record",
"fields": [
{
"name": "nested1",
"type": "string"
}
]
}
}
]
}
}
]
}
according to examples in .apache.nifi/nifi-record-serialization-services-nar/1.7.0/.apache.nifi.xml.XMLReader/additionalDetails.html
But got the error:
Not a valid Avro Schema Cant redefine nifi.RecordForTag
What am I doing wrong?
本文标签: nifiavro schema for Xml file ExceptionStack Overflow
版权声明:本文标题:Nifi, avro schema for Xml file Exception - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742367681a2461616.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论