Skip to content

Questions? Join our Discord.

JasperFx

Formal support for Wolverine, Marten, and Polecat is available through our Support Plans.

Batch message processing with BatchMessagesOf<T> New in 1.14.0

Batch message processing in Wolverine with BatchMessagesOf<T>: a Handle(T[]) handler, BatchSize/TriggerTime, why a direct Handle(T) silently shadows the batch, why only a durable listener makes batching loss-proof, CoalesceBy de-duplication, GroupByGroupId and batches inside a partitioned topology (Sequential() does not sequence a batch against unbatched handlers), custom IMessageBatcher shapes, poison-item isolation with ApplyItemException / IsolateBatchMembers / ProbeIndividuallyAfter, IBatchContext, DeliverBy expiry, and waiting for batches in tests.

Use when handling bursts of the same message in bulk, debouncing a trigger storm, or diagnosing a batch handler that never runs, loses messages, dead-letters a whole batch, or races its own entity.

Skill details

  • Skill name: wolverine-handlers-message-batching
  • Applies to: wolverine
  • Tags: wolverine, handlers, batching, BatchMessagesOf, IMessageBatcher, CoalesceBy, debounce, durability, partitioning, error-handling, dead-letter
  • Added in: 1.14.0
  • License: Proprietary. Copyright JasperFx Software LLC.

Proprietary. Copyright © JasperFx Software LLC. See LICENSE for terms.