<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/announcing-batch-keys-zmth1m9qn" -->

---
title: Announcing: Batch Keys | daily.dev
description: Inngest introduces Batch Keys, a new option for its Event Batching feature that lets developers group event batches by a specified property (via...
canonical: https://daily.dev/posts/announcing-batch-keys-zmth1m9qn
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Announcing: Batch Keys | daily.dev
og:description: Inngest introduces Batch Keys, a new option for its Event Batching feature that lets developers group event batches by a specified property (via...
og:url: https://daily.dev/posts/announcing-batch-keys-zmth1m9qn
og:image: https://api.daily.dev/og/posts/Zmth1m9QN.png
og:image:alt: Announcing: Batch Keys
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Announcing: Batch Keys

**[Inngest Blog](https://daily.dev/sources/inngest)** · 3 min read · 0 upvotes · 0 comments

## Summary

Inngest introduces Batch Keys, a new option for its Event Batching feature that lets developers group event batches by a specified property (via batchEvents.key), such as post_id, instead of manually partitioning events inside the function body. This removes custom grouping logic, fixes fairness issues where high-volume groups dominated batches, and simplifies retry/replay behavior for specific users or entities. An example shows rewriting a post-likes notification function to batch by post_id directly through configuration rather than a manual reduce operation.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.inngest.com/blog/announcing-batch-keys>

## Questions this post answers

### How do I group Inngest event batches by a specific property like post_id instead of manually partitioning them in code?

Use the new batchEvents.key option in createFunction, set to an expression like event.data.post_id. This tells Inngest's event-matching engine to compose batches per unique key value automatically, so a function receiving a batch only gets events sharing that key, eliminating the need for manual reduce-based grouping inside the function body.

_daily.dev surfaces practical updates like this for developers wiring up event-driven batching workflows._

### What problems does manually partitioning batched events by property cause in Inngest functions?

Manual partitioning inside the function body introduces fairness issues, since an entity like a post with far more events benefits from tighter grouping than others, hurting consistency. It also complicates reliability, making it harder to retry or replay batches for a specific user, and adds extra grouping logic that makes the function harder to read and maintain.

_Developers weighing batching strategies can follow tooling changes like this via daily.dev._

## Similar posts on daily.dev

- [How to Scale an Integration Pipeline Without Breaking Correctness](https://daily.dev/posts/how-to-scale-an-integration-pipeline-without-breaking-correctness-ghschovtz) · Towards Data Science · 1 upvotes · 0 comments
- [Amazon Keyspaces \(for Apache Cassandra\) now supports Logged Batches](https://daily.dev/posts/amazon-keyspaces-for-apache-cassandra-now-supports-logged-batches-0iae3laus) · AWS · 0 upvotes · 0 comments
- [Customer story](https://daily.dev/posts/customer-story-eeflvqqvv) · Inngest Blog · 0 upvotes · 0 comments
- [Pinterest Uses Event Time Watermarks to Finalize Petabyte Scale Data Partitions](https://daily.dev/posts/pinterest-uses-event-time-watermarks-to-finalize-petabyte-scale-data-partitions-eofpnyb7u) · InfoQ · 0 upvotes · 0 comments
- [30\+ Updates per Second per Account: Uber Scales Ledger Processing with Batching](https://daily.dev/posts/30-updates-per-second-per-account-uber-scales-ledger-processing-with-batching-h5w2zvquh) · InfoQ · 0 upvotes · 0 comments

---

Tags: [#inngest](https://daily.dev/tags/inngest), [#typescript](https://daily.dev/tags/typescript), [#workflow-orchestration](https://daily.dev/tags/workflow-orchestration)

[View this post on daily.dev](https://daily.dev/posts/announcing-batch-keys-zmth1m9qn)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Announcing: Batch Keys","url":"https://daily.dev/posts/announcing-batch-keys-zmth1m9qn","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/announcing-batch-keys-zmth1m9qn"},"datePublished":"2026-09-13T19:57:13.853Z","dateModified":"2026-10-15T02:22:32.518Z","description":"Inngest introduces Batch Keys, a new option for its Event Batching feature that lets developers group event batches by a specified property (via...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5b06281517f7f3007e13f36693e81a8a?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5b06281517f7f3007e13f36693e81a8a?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Inngest Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Inngest Blog","logo":"https://media.daily.dev/image/upload/s--ieZKUa5y--/c_limit,w_256/f_auto,q_auto/v1789329423/logos/inngest?_a=BAMAMicg0","url":"https://daily.dev/sources/inngest"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/announcing-batch-keys-zmth1m9qn","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"inngest,typescript,workflow-orchestration","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Inngest Blog","item":"https://daily.dev/sources/inngest"},{"@type":"ListItem","position":3,"name":"Announcing: Batch Keys"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/announcing-batch-keys-zmth1m9qn#faq","mainEntity":[{"@type":"Question","name":"How do I group Inngest event batches by a specific property like post_id instead of manually partitioning them in code?","acceptedAnswer":{"@type":"Answer","text":"Use the new batchEvents.key option in createFunction, set to an expression like event.data.post_id. This tells Inngest's event-matching engine to compose batches per unique key value automatically, so a function receiving a batch only gets events sharing that key, eliminating the need for manual reduce-based grouping inside the function body. daily.dev surfaces practical updates like this for developers wiring up event-driven batching workflows."}},{"@type":"Question","name":"What problems does manually partitioning batched events by property cause in Inngest functions?","acceptedAnswer":{"@type":"Answer","text":"Manual partitioning inside the function body introduces fairness issues, since an entity like a post with far more events benefits from tighter grouping than others, hurting consistency. It also complicates reliability, making it harder to retry or replay batches for a specific user, and adds extra grouping logic that makes the function harder to read and maintain. Developers weighing batching strategies can follow tooling changes like this via daily.dev."}}]}
```

