GitHub user tenthe added a comment to the discussion: Is There an Existing Flow to Send Data to REST API and Process Response?
Hi @Sugandhab, the function would be a separate service containing dedicated code, capable of subscribing to event streams and creating new ones. If you want to reuse your code in a pipeline, you need to implement a data processor. In general: - For complex tasks or tasks that have a fixed data stream, use a **Function**, because it provides a dedicated solution. - For more flexibility and generic tasks, **Processors** work better, as they can be used in different pipelines and configured by user input. Here’s the documentation for Java Functions: [Link](https://streampipes.apache.org/docs/extend-sdk-functions/) I hope this helps! GitHub link: https://github.com/apache/streampipes/discussions/3538#discussioncomment-12611380 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
