Add ElastiCache (Valkey) message queue template by vasigorc · Pull Request #1309 · vercel/examples

acarbonetto

acarbonetto

acarbonetto

Vasile Gorcinschi and others added 9 commits

January 21, 2026 14:33
Demonstrates Streams with consumer groups for message queue
functionality in Vercel Functions. Includes:

- Contact form message producer (POST /api/messages)
- Consumer group message processor with XREADGROUP and XAUTOCLAIM (GET /api/messages)
- Message acknowledgement endpoint (DELETE /api/messages)
- UI components for form submission and message processing
- valkey-glide client integration with proper error handling
Co-authored-by: Andrew Carbonetto <andrew.carbonetto@improving.com>
`serverComponentsExternalPackages` moved out of `experimental` in
Next.js 15+
getMetadata is not compatible with client components