Support Questions
Find answers, ask questions, and share your expertise

Jolt Specification as an Expression

New Contributor

Hi, I want to load complete specification file from the database, for that, i create processors to load from db and put it in the properties but while specifying property as a specification, i got an error. I also tried different ways but no luck.

I stored the specification in "SPECS" properties but while specifying it through "${SPECS}" , its not working. I also tried through Advance option and property creation.

I think, currently, replacing the content through property is not fully supported in current expression language of Jolt processor?

Article

 

Related Articles

HDF 2.0 - Defining NiFi Policies in Ranger

Apache NiFi 1.1.0 on Docker

ExecuteScript Cookbook (part 3)

NiFi for Clickstream Log Ingestion into HBase + Phoenix for BI Dashboard

JSON-to-JSON Simplified with Apache NiFi and Jolt

Azure Sandbox prep for Twitter/HDP/HDF demo

Windows Share + Nifi + HDFS – A Practical Guide

XML Processing: Encoding, Validation, Parsing & Splitting

How to configure http configuration listener to pull/validate/apply flowfile configuration from Nifi...

How to expand existing NiFi cluster fault tolerance using multiple data centers when using HDF 1.x/N...

1 REPLY 1

New Contributor

I am also trying the same using below code in Java but Jolt is unable to perform the shift operation:

.to("jolt:https://storage.googleapis.com/asia.artifacts.apigee-sample-2021.appspot.com/specs/securecxToPragmaSpec.json?inputType=JsonString&outputType=JsonString")

Please let me know if you got any solution or workaround. 

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.