Documentation src code #1030
Description
Hi,
I'm learning to use CloudFlow for Java and following the tutorial at https://cloudflow.io/docs/current/develop/build-akka-streamlets.html which contains sample code.
Searching the CloudFlow examples (https://github.com/lightbend/cloudflow/tree/master/examples) the tutorial sample code does not appear to be implemented.
For the build-akka-streamlets-java example the implementation code is omitted and throws UnsupportedOperationException exceptions instead:
// 1. TODO Create inlets and outlets
// 2. TODO Define the shape of the streamlet
public StreamletShape shape() { throw new UnsupportedOperationException("Not Implemented"); }
// 3. TODO Override createLogic to provide StreamletLogic
public RunnableGraphStreamletLogic createLogic() { throw new UnsupportedOperationException("Not Implemented"); }
Is there sample code for a complete Java + Akka + Streamlet implementation that follows the documentation at https://cloudflow.io/docs/current/develop/build-akka-streamlets.html or an example that contains a complete flow with implemented methods such as 'shape()' & 'createLogic()' ?
Thanks.