This post was originally created by Alex Cook.
ThereĀ isĀ a myth that writing a Java operator in Streams is hard. If you believeĀ that, I hope I can change your mind in 3 minutes.
Can it be hard? Yes, because writing Java can be hard. If it’s easy in Java, it’s easy in Streams.Ā To convince you, I made a video showing how to build a Java operator from scratch in 1 minute, then another video showing how to test and incorporate that operator into a Streams SPL Application in 2 minutes. Please take 3 minutes to watch these videos:
Watch: Create the operator
Watch: Testing the operator
Learn more about Java operator development in our comprehensive Java Operator Development Guide to become a pro.