You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/workers/databases/third-party-integrations/upstash.mdx
-32Lines changed: 0 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,38 +92,6 @@ To set up an integration with Upstash:
92
92
93
93
To learn more about Upstash, refer to the [Upstash documentation](https://docs.upstash.com/redis).
94
94
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
-
<PackageManagerspkg="@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.
0 commit comments