Anup,
You can escape the ${ by using an extra $:
{
filename=$${filename},
property=$${property}
}
That should evaluate literally to:
{
filename=${filename},
property=${property}
}
Thanks
-Mark
----------------------------------------
> Date: Mon, 25 May 2015 23:49:21 -0700
> From: [email protected]
> To: [email protected]
> Subject: Re: send JSON format to kafka and avoid duplication
>
> That works, but what if I have to replace it with the JSON format, how do I
> send the values?
>
> For the below replacement, the whole JSON text goes as it is, without
> replacing the values!
>
> {
> filename=${filename}, ?
> property=${property}
> }
>
>
>
>
>
> --
> View this message in context:
> http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/send-JSON-format-to-kafka-and-avoid-duplication-tp1624p1627.html
> Sent from the Apache NiFi (incubating) Developer List mailing list archive at
> Nabble.com.