Optional
chunkSize?: numberMaximum number of messages to process in one batch
Optional
delay?: numberMilliseconds to wait between processing batches
Optional
getKey?: (x: T) => anyFunction to get key for message routing
Optional
shouldDefer?: (x: T) => booleanFunction to determine if message processing should be deferred
Configuration options for Worker