Streaming: Processing Time Trigger

Medium
Streaming
Kafka
Trigger
Databricks
Netflix

Streaming: Processing Time Trigger

Read metrics_topic with a processing-time trigger of 5 seconds. Write to orders_trigger_topic using writeStream.format('kafka'). Return the stream DataFrame.

Browser Engine: Evaluates PySpark DataFrame & SQL logic locally in Pyodide WebAssembly.

Input data

0 DataFrames

These DataFrames are passed to solve(spark, dfs). Access one with dfs['name'].

Browser engine
Loading Python editor…
Click Run to try the sample cases, or Submit to check the hidden cases. First run caches the browser Python engine (~8–15s once); all code stays on your device.