Skip to content

Commit b601b21

Browse files
authored
Update upstash.mdx (#27090)
closes #25865
1 parent af3d422 commit b601b21

File tree

1 file changed

+0
-32
lines changed
  • src/content/docs/workers/databases/third-party-integrations

1 file changed

+0
-32
lines changed

src/content/docs/workers/databases/third-party-integrations/upstash.mdx

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -92,38 +92,6 @@ To set up an integration with Upstash:
9292

9393
To learn more about Upstash, refer to the [Upstash documentation](https://docs.upstash.com/redis).
9494

95-
## Upstash Kafka
96-
97-
To set up an integration with Upstash Kafka:
98-
99-
1. Create a [Kafka cluster and topic](https://docs.upstash.com/kafka).
100-
101-
2. Configure the Upstash Kafka credentials in your Worker:
102-
103-
You need to add your Upstash Kafka connection details as secrets to your Worker. Get these from your [Upstash Console](https://console.upstash.com) under your Kafka cluster details, then add them as secrets using Wrangler:
104-
105-
```sh
106-
# Add the Upstash Kafka URL as a secret
107-
npx wrangler secret put UPSTASH_KAFKA_REST_URL
108-
# When prompted, paste your Upstash Kafka REST URL
109-
110-
# Add the Upstash Kafka username as a secret
111-
npx wrangler secret put UPSTASH_KAFKA_REST_USERNAME
112-
# When prompted, paste your Upstash Kafka username
113-
114-
# Add the Upstash Kafka password as a secret
115-
npx wrangler secret put UPSTASH_KAFKA_REST_PASSWORD
116-
# When prompted, paste your Upstash Kafka password
117-
```
118-
119-
3. In your Worker, install `@upstash/kafka`, a HTTP/REST based Kafka client:
120-
121-
<PackageManagers pkg="@upstash/kafka" />
122-
123-
4. Use the [upstash-kafka](https://github.com/upstash/upstash-kafka/blob/main/README.md) JavaScript SDK to send data to Kafka.
124-
125-
Refer to [Upstash documentation on Kafka setup with Workers](https://docs.upstash.com/kafka/real-time-analytics/realtime_analytics_serverless_kafka_setup#option-1-cloudflare-workers) for more information. Replace `url`, `username` and `password` with the variables set by the integration.
126-
12795
## Upstash QStash
12896

12997
To set up an integration with Upstash QStash:

0 commit comments

Comments
 (0)