Announcing riff v0.5.0
We are happy to announce riff v0.5.0. Thanks to all riff, Cloud Native Buildpack, Knative, Liiklus, KEDA, Contour, k14s, and other contributors.
The riff CLI can be downloaded from our releases page on GitHub. The getting started guides will help you to run your first function.
Streaming
This release introduces a new experimental streaming capability. Functions deployed using the Streaming Runtime are able to consume and produce streams of events. The Node and Java function invokers have been extended to support a new streaming invoker specification.
Here is an example of a JavaScript streaming function interface with 2 input and 1 output stream, using the node function invoker.
module.exports = (inputStreams, outputStreams) => {
const { impressions, orders } = inputStreams;
const { conversions } = outputStreams;
// do something
};
module.exports.$interactionModel = 'node-streams';