A Kafka topic orders_topic has 3 messages. Use spark.readStream with
format('kafka') to read from earliest to latest offset (bounded replay).
Return topic, partition, offset, key, value sorted by offset. This simulates
a micro-batch that processes all available messages once and stops.
These DataFrames are passed to solve(spark, dfs). Access one with dfs['name'].