Open FanindhraThirunagaru opened 6 months ago
Hi @FanindhraThirunagaru,
Sorry it has taken a while to get back w/ you.
The Groovy processor only accepts a file as input.
The Script processor accepts inline function in the script-processor.script property (see ScriptProcessorProperties for examples).
You should be able to modify the headers via a script. See this issue for similar details.
Let us know if this helps or not.
Thanks
We are currently using spring cloud dataflow in a kubernetes cluster and as per documentations groovy processor is accepting the file path of the script.
And script processor is accepting accepting functions to transform payload.
Is there any other way to input the script into the prebuilt groovy application or script processor. We are trying to create a script that modifies headers of a kafka event.