Common Patterns¶
This section covers common patterns for building data pipelines with BSPump. These patterns are based on real-world usage in production environments.
Overview¶
The patterns in this section demonstrate:
Webhook to Kafka: Receiving HTTP webhooks and forwarding to Kafka
Kafka Processing: Consuming, processing, and producing to Kafka
Custom Event Source: Building custom sources with thread pools
Scheduled Tasks: Running periodic jobs with CronTrigger
Error Recovery: Using Kafka for restart safety
Each pattern includes complete, runnable code examples.
Pattern Selection Guide¶
Use Case |
Pattern |
|---|---|
Receive external HTTP data |
|
Transform streaming data |
|
Poll external systems |
|
Run periodic jobs |
|
Handle failures gracefully |