AWS Lambda's Kafka Queue Mode: Parallelism Beyond the Partition Count
Lambda can process independent records from one self-managed Kafka partition through multiple pollers. Queue mode changes the ordering and retry contract as well as the scaling limit.
Partition count has traditionally been a hard ceiling on consumer-group parallelism for a Kafka topic: one partition is assigned to one consumer in the group. Increasing the worker count alone cannot make that partition’s records run through multiple consumers at once. For independent events, teams have sometimes added partitions or an extra queue simply to raise processing concurrency.
On November 2, 2026, AWS announced Queue consumption mode for Lambda event source mappings connected to self-managed Apache Kafka. The category includes clusters customers run and managed third-party offerings such as Confluent Cloud when the Kafka share-group requirements are met. AWS’s November 9 weekly roundup revisited the launch; it was not the launch date.
What changes in the consumer contract?
In the default Stream mode, Lambda event pollers join a conventional consumer group. A partition belongs to one consumer within that group, preserving record order within the partition. The new ConsumptionMode: Queue setting uses Kafka share groups. Several pollers can acquire different records from the same partition, and one poller can support concurrent Lambda invocations. This removes partition count as the direct concurrency ceiling for workloads whose records can be processed independently. The accompanying image illustrates that contrast conceptually; it is not a literal drawing of broker internals.
The share-group broker tracks records as available, acquired, acknowledged or archived. An acquired record is temporarily locked. Successful function execution acknowledges it; a failure can make it available for another poller. That is a useful resilience mechanism, but it changes application obligations. Lambda event source mappings provide at-least-once processing, so duplicates can occur, and Queue mode gives no ordering guarantee, including for records from the same partition. A payment, inventory or state transition handler must explicitly handle duplicate and out-of-order inputs if it uses this mode.
Scaling has other ceilings
Queue mode requires Kafka 4.2 or later with share groups enabled. AWS says on-demand Queue mode scales to five event pollers per mapping and up to 50 concurrent invocations or 5 MB/s aggregate throughput, whichever limit is reached first. Provisioned mode exposes a higher configurable poller range and adds Event Poller Unit charges; actual capacity is also bounded by broker settings such as group.share.max.size and the per-partition in-flight record-lock limit. Partition independence therefore does not mean unlimited throughput.
There are operational differences too: Queue mode does not support a batching window or the usual starting-position configuration. A new share group’s initial position is controlled through broker configuration. For ordered change-data-capture streams or per-entity state machines, Stream mode remains the more natural contract. The modes can coexist against the same topic as independent consumers, making migration and comparison possible without changing producers.
The engineering decision is whether more concurrency is worth the responsibility for idempotency and ordering in the application. Before changing a production event source mapping, measure lag, duplicate handling, retry behavior, broker lock capacity and downstream write semantics under the intended load. AWS has documented the mechanism and limits; these are not independent measurements of an application’s throughput.
Sources: AWS launch announcement, November 2, 2026 and AWS Compute Blog technical walkthrough.