Go Operator and File
This graph reads content from a file and uses the go operator in order to deal with the file content and name using different go functions and message type in the Go operator.
Prerequisites
- Any valid file configured on readFile operator.
Configure and Run the Graph
Follow the
steps below to run the example from the Data Pipeline UI:
- In the left panel, select the Graphs tab and navigate to com/sap/demo/goDataGenerator.
- In the tool bar, select Run (play button).
- The Status panel indicates if the graph is "running".
- Use the context menu Open UI of terminal (1mnu) node to open the both terminal operators.
- The terminal opens and you see the resulted data.
Optional Step: See the Code for Go Operator
If you would like to see the code used for the operations, use the context menu Open Script of the Go Data Generator node.