kafka-streams-machine-learning-examples
kafka-streams-machine-learning-examples copied to clipboard
Use `transform` instead of `foreach`
Hey Kai,
I think you can use transform that can return a new stream, with the similar function but return the result p as the value and even with a new key (right now it is null).
By doing this you also do not need to declare a static String airlineDelayPreduction :)