-
Notifications
You must be signed in to change notification settings - Fork 173
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
Add nodejs SDK #258
Comments
This issue will be assigned to @fengmk2 |
:) |
use nanoexpress for the http server https://github.com/nanoexpress/nanoexpress |
nanoexpress it deps cpp module, not the pure nodejs module. I will use fastily instead https://www.fastify.io/ |
@fengmk2 Wait a minute,which type of server will you use fastily to start? A grpc server? But I just checked the grpc official document and found that there was an official nodejs lib to start a grpc server. Is that official lib not enough? |
@seeflood 抱歉。。。先看了 dapr 的文档,今天才看 layotto 的文档,才发现 layotto 完全是 grpc 或者 dubbo 的。忽略我的误解,本以为有 http api 可以先快速实现。我会使用 grpc 来做的,好多代码都不需要写了,自动生成。 |
Hi @fengmk2 , i use tcp dump to catch the package between sdk and layotto ,from the picture, we can find sdk receive right package from layotto, but nodejs occur an error with Received RST_STREAM with code 1, may be there have some problem with nodejs grpc. Can u help check it ? |
What would you like to be added:
Add nodejs SDK for Layotto
Reference:
go-sdk: https://github.com/mosn/layotto/tree/main/sdk/go-sdk
java-sdk: https://github.com/mosn/layotto/tree/main/sdk/java-sdk
(java-sdk in main branch is very simple,there are several PRs waiting for review)
Also,u can take Dapr's nodejs sdk as reference.
Why is this needed:
Help nodejs programmers use Layotto
The text was updated successfully, but these errors were encountered: