标签: apache-nifi jolt
我想在“更新属性”处理器中创建Jolt规范,并在JoltTransformer处理器中将其用作如下属性。
我在JoltTransformer中遇到此错误: 。 “由于该说明对所选转换无效而无效。 将在运行时设置“震动说明”的原因。
感谢您的帮助! 阿尼
答案 0 :(得分:1)
在NiFi-1.6.0 JoltTransformJson处理器not accepting attributes in jolt specification property value中。
JoltTransformJson
not accepting attributes in jolt specification property value
我们仍然需要保持 literal jolt specification 的属性值。
literal jolt specification
示例:
但是从 NiFi-1.7.0 开始,JoltTransformJson处理器 将使用流文件属性和变量注册表进行评估
NiFi-1.7.0
${mapping}