Module batching

Module batching 

Source
Expand description

Message batching implementation for high-throughput scenarios

This module provides efficient message batching to improve performance by:

  • Grouping multiple messages into single publish operations
  • Reducing RabbitMQ connection overhead
  • Configurable batch sizes and timeouts
  • Memory-efficient batch accumulation

Structsยง

BatchConfig
Configuration for message batching
BatchConfigBuilder
Builder for BatchConfig
MessageBatcher
Message batcher for high-throughput publishing