spring-cloud / stream-applications

Functions and Spring Cloud Stream Applications for data driven microservices
https://spring.io/projects/spring-cloud-stream-applications
247 stars 105 forks source link

Scripting using groovy processor or script processor #516

Open FanindhraThirunagaru opened 6 months ago

FanindhraThirunagaru commented 6 months ago

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.

onobc commented 5 months ago

Hi @FanindhraThirunagaru,

Sorry it has taken a while to get back w/ you.

Let us know if this helps or not.

Thanks