Knative Functions is a programming model and set of tooling that significantly reduces the time to productivity when developing reactive Kubernetes apps. The speaker demonstrates how to build a Twitter bot that translates Tweets into multiple languages using Google's Translate API in under 5 minutes.
- Knative brings scale to zero and developer happiness through its programming model and client tools
- Knative Functions reduces the mental overhead and learning curve for developers new to Kubernetes
- The demo showcases the use of Camel K for an event source and the K-native event broker for Cloud events
- The demo involves deploying two functions, creating an event broker, creating two triggers, and applying a YAML file for the Twitter search camlet
- The translate function checks if a Tweet is in English and calls the Google Translate API if it is not
- The viewer function receives Cloud events and prints them to the screen
- The Twitter search camlet polls the Twitter search API and converts results into Cloud events
- The demo illustrates the ease and speed of developing reactive Kubernetes apps with Knative Functions
The speaker shows a screen capture of the last time he did the demo, where scrolling Tweets appear on the screen with the viewer function as he tails the logs. He provides a QR code for those interested in trying the demo themselves.