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.