Add ElastiCache (Valkey) message queue template#1309
Add ElastiCache (Valkey) message queue template#1309vasigorc wants to merge 12 commits intovercel:mainfrom
Conversation
|
@vasigorc is attempting to deploy a commit to the Vercel Labs Team on Vercel. A member of the Team first needs to authorize it. |
acarbonetto
left a comment
There was a problem hiding this comment.
Interesting idea, to you message processing instead of a basic API.
| return { | ||
| valid: true, | ||
| data: { | ||
| name: data.name.trim(), |
There was a problem hiding this comment.
Here, like on two lines below, the intent is to trim trailing white spaces/tabs.
There was a problem hiding this comment.
Right. But maybe the extra whitespace is desired.
And if not, garbage in, garbage out.
| // Clear form | ||
| setName('') | ||
| setEmail('') | ||
| setMessage('') |
There was a problem hiding this comment.
nit: I'd suggest not clearing the form? But I dont have strong feelings.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
c2490d7 to
b6c014a
Compare
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
b6c014a to
9e0410f
Compare
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Deployment failed with the following error: Learn More: https://vercel.com/docs/concepts/projects/project-configuration |
Description
Adds a template demonstrating AWS ElastiCache integration for message queue functionality using Redis Streams.
What this template shows
Type of Change
Simple demo flow looks like this:
Screen.Recording.2025-11-25.at.4.13.35.PM.mov
New Example Checklist
npm run new-examplewas used to create the example