Event Streaming Recommendations for Clients/Tenants
This page contains our recommendations for various client configurations. These recommendations are unchanged from V1 — the underlying query parameters and consumer-per-partition model they're based on are the same in V2.
Category 1: A load not greater than 150k events/notifications per 40 minutes
- Real-time low-latency processing
batch_limit: 10batch_flush_timeout: 2 secondscommit_timeout: 5 secondsstream_timeout: 70 minutes- Recommended consumers: 3 (1 per partition)
- High-throughput, less frequent processing
batch_limit: 50batch_flush_timeout: 10 secondscommit_timeout: 60 secondsstream_timeout: 70 minutes- Recommended consumers: 3 (1 per partition)
- Balanced approach
batch_limit: 20batch_flush_timeout: 5 secondscommit_timeout: 20 seconds- Recommended consumers: 3 (1 per partition)
Category 2: A load between 150k and 350k events/notifications per 40 minutes
- Real-time low-latency processing
batch_limit: 15batch_flush_timeout: 3 secondscommit_timeout: 10 secondsstream_timeout: 70 minutes- Recommended consumers: 3 (1 per partition)
- High-throughput, less frequent processing
batch_limit: 100batch_flush_timeout: 10 secondscommit_timeout: 90 secondsstream_timeout: 70 minutes Recommended consumers: 3 (1 per partition)
- Balanced approach
batch_limit: 50batch_flush_timeout: 5 secondscommit_timeout: 30 secondsstream_timeout: 70 minutes- Recommended consumers: 3 (1 per partition)
Category 3: A load between 350k and 550k events/notifications per 40 minutes
- Real-time low-latency processing
batch_limit: 20batch_flush_timeout: 2 secondscommit_timeout: 5 secondsstream_timeout: 70 minutes- Recommended consumers: 3 (1 per partition)
- High-throughput, less frequent processing
batch_limit: 100batch_flush_timeout: 10 secondscommit_timeout: 60 secondsstream_timeout: 70 minutes- Recommended consumers: 3 (1 per partition)
- Balanced approach
batch_limit: 50batch_flush_timeout: 5 secondscommit_timeout: 30 secondsstream_timeout: 70 minutes- Recommended consumers: 3 (1 per partition)
Category 4: A load between 750k and 1M events/notifications per 40 minute
- Real-time low-latency processing
batch_limit: 25batch_flush_timeout: 3 secondscommit_timeout: 10 secondsstream_timeout: 70 minutes- Recommended consumers: 6 (1 per partition)
- High-throughput, less frequent processing
batch_limit: 200batch_flush_timeout: 15 secondscommit_timeout: 120 secondsstream_timeout: 70 minutes- Recommended consumers: 6 (1 per partition)
- Balanced approach
batch_limit: 100batch_flush_timeout: 10 secondscommit_timeout: 60 secondsstream_timeout: 70 minutes- Recommended consumers: 6 (1 per partition)
Category 5: A load between 1M and 2M events/notifications per 40 minutes
- Real-time low-latency processing
batch_limit: 50batch_flush_timeout: 5 secondscommit_timeout: 10 secondsstream_timeout: 70 minutes- Recommended consumers: 8 (1 per partition)
- High-throughput, less frequent processing
batch_limit: 300batch_flush_timeout: 20 secondscommit_timeout: 180 secondsstream_timeout: 70 minutes- Recommended consumers: 8 (1 per partition)
- Balanced approach
batch_limit: 150batch_flush_timeout: 10 secondscommit_timeout: 60 secondsstream_timeout: 70 minutes- Recommended consumers: 8 (1 per partition)
note
V2's fixed consumer-per-subscription model (typically 4, 6, or 8 consumers, no longer dependent on event type count) may shift which of these recommendations applies to a given subscription — see Differences Between Streaming API V1 and V2.