How firstgear/realtime-claim-analytics works
This small project generates synthetic insurance-claim events and publishes them to Kafka; the README describes Spark streaming analytics as a future consumer. The producer source shows event fields, JSON serialization, topic publishing, and retrying broker connection setup. Spark is documented but not implemented in the shown source, so that link is documented rather than verified in code.
Main entry points: producer.py Claim event generator
Components 3
Claim producer
- Claim event generator
producer/producer.py
Streaming platform
- Kafka broker
- Planned Spark analytics
Connections 2
- Claim event generator → Kafka broker: publishes events
producer/producer.py - Kafka broker → Planned Spark analytics: feeds analytics
README.md