从JSON模式文件创建AVRO模式 [英] Creating AVRO schema from JSON Schema File

查看:278
本文介绍了从JSON模式文件创建AVRO模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有JSON文件& JSON模式要解析为AVRO模式.我有点困惑,我是否必须使用AVRO文档中定义的数据类型编写手动AVRO模式. ?

I have the JSON file & JSON Schema to be parsed into the AVRO Schema. I am little bit confused, do i have to write the manual AVRO schema using the data types defined in AVRO documentation.

Or is there any automated method / function / program that can work exactly the same as required ?

推荐答案

好吧,您可以尝试 https ://github.com/fge/json-schema-avro ,但他们表示还不完整.所以尽管不确定

Well, you can try https://github.com/fge/json-schema-avro, but they say it is still not complete. So not sure it will work, though

这篇关于从JSON模式文件创建AVRO模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆