如何在 Nifi Jolt 中使用 JoltSpecification 属性
How to Use Attribute for JoltSpecification in Nifi Jolt
我想在更新属性处理器中创建 Jolt 规范,并在 JoltTransformer 处理器中用作如下属性。
我在 JoltTransformer 中收到此错误:
. “无效,因为规范对所选转换无效。
原因是 Jolt 规范将在运行时设置。
感谢您的帮助!
阿尼
在 NiFi-1.6.0 JoltTransformJson
处理器中 not accepting attributes in jolt specification property value
。
我们仍然需要将 literal jolt specification
保留在 属性 值中。
示例:
但从 NiFi-1.7.0
开始,JoltTransformJson 处理器 将使用流文件属性和变量注册表进行评估
- 我们可以使用
${mapping}
从 NiFi-1.7.0
开始
我想在更新属性处理器中创建 Jolt 规范,并在 JoltTransformer 处理器中用作如下属性。
我在 JoltTransformer 中收到此错误: . “无效,因为规范对所选转换无效。 原因是 Jolt 规范将在运行时设置。
感谢您的帮助! 阿尼
在 NiFi-1.6.0 JoltTransformJson
处理器中 not accepting attributes in jolt specification property value
。
我们仍然需要将 literal jolt specification
保留在 属性 值中。
示例:
但从 NiFi-1.7.0
开始,JoltTransformJson 处理器 将使用流文件属性和变量注册表进行评估
- 我们可以使用
${mapping}
从NiFi-1.7.0
开始