Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Cloudflare sockets connect #1713

Open
devinrsmith opened this issue Aug 19, 2024 · 1 comment
Open

Support for Cloudflare sockets connect #1713

devinrsmith opened this issue Aug 19, 2024 · 1 comment

Comments

@devinrsmith
Copy link

It would be great to be able to connect to kafka from a cloudflare worker; the APIs that the cloudflare workers expose lacks net / tls, and thus https://github.com/tulios/kafkajs/blob/v2.2.4/src/network/socketFactory.js fails.

The following might be useful context in consideration of this feature:

https://github.com/brianc/node-postgres/blob/master/packages/pg/lib/stream.js

https://blog.cloudflare.com/workers-tcp-socket-api-connect-databases

https://developers.cloudflare.com/workers/runtime-apis/tcp-sockets/

@millsy
Copy link

millsy commented Oct 21, 2024

This would be super useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants