James Eastham
James Eastham
CDCloudflare Developers
Created by James Eastham on 4/13/2025 in #workers-help
Service Bindings on NextJS
Hey everyone, I'm trying to get a NextJS setup on workers. My NextJS app needs to make a call out to another worker, which is setup as a service binding. I've gone through the steps of using wrangler types to generate types, have the latest versions of everything. But whenever I make a call to getRequestContext() I get an error saying that the Cloudflare Request Context can't be loaded. The other challenge I've got, is that when I set export const runtime = edge I get another error saying
OpenNext requires edge runtime function to be defined in a separate function.
See the docs for more information on how to bundle edge runtime functions.
OpenNext requires edge runtime function to be defined in a separate function.
See the docs for more information on how to bundle edge runtime functions.
Does anyone know exactly which docs that is referring to? Thanks in advance
1 replies
CDCloudflare Developers
Created by James Eastham on 10/24/2024 in #workers-help
Workers with Kafka
Hey, has anyone ever successfully connected a Cloudflare Worker to a Kafka topic? I know the Upstash integration exists, but I'm looking for something that integrates with Confluent Cloud.
1 replies