Kickstart your Kafka with Faker Data
summary
Shows how to generate continuous test events and push them into Kafka using Python and the Faker library with a kafka producer client, including localization, unique and seeded repeatable outputs. Demonstrates writing a custom Faker provider (fake pizza names and toppings), composes JSON order messages with id, shop, customer and five-item pizza arrays, then streams them in a loop to a Kafka topic. Includes working code, a blog post and a public GitHub repo.
AI-written summary · about
chapters (6)
- 0:00Introduction to Kafka setup
- 2:36Producing data to Kafka
- 3:17Generating fake data with Faker
- 5:45Extending Faker for custom data
- 7:50Feeding Kafka with streaming data
- 8:12Resources and Q&A
related talks
25mSPONSOR WORKSHOP / Paul Prescod / SalesForce
49mElias Nogueira: Datafaker: The Most Powerful Fake Data Generator Library
22mStrategies for Generating Dynamic, Realistic Mocks for Messaging APIs
23mSharing the wealth, socialising Kafka event sources in an organisation
39mIntroduction to AsyncAPI for Apache Kafka
38mQuest to Connect Teams with Kafka
28mDesigning Payloads for Event-Driven Systems
38mTake The Path Of Least Resistance For Your Test Data
