Example 2: Spool messages to Kafka