Comments (3)
This is not a good design. According to the philosophy of GRPC, idl ensures that client and server calls are correct. You should not directly modify the method name, as it will cause code incompatibility. The client and server cannot call properly.
from kratos.
那抛开 方法被修改的场景不谈,就是单纯的想获取Svr名称可行么,目前是根据当前transport中的operation分割两次获取的
from kratos.
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Putting aside the scenario where the method is modified, is it feasible to simply obtain the Svr name? Currently, it is obtained twice based on the operation in the current transport.
from kratos.
Related Issues (20)
- Kratos middleware seems to only apply to unary gRPC operations HOT 7
- t
- [Question] About the current p2c algorithm HOT 1
- bug in Quick Start HOT 1
- [Question]how can i catch issue when i use config hot reload with a mismatch type
- 使用北极星作为服务发现时,在注册多个grpc client时,启动报错:concurrent map iteration and map write HOT 4
- [Question]how to get all router HOT 1
- GRPC MaxSendMsgSize MaxRecvMsgSize setting HOT 1
- [Question] Error: no_available_node HOT 13
- [Question] After creating a new service, the grpc test is normal, but when requesting bff through http, the bff layer does not initiate a grpc call to the business layer and returns DeadlineExceeded. Which part should be checked? HOT 1
- Whitelist: selector middleware doesn't work for grpc HOT 1
- [Question] Next release date for kratos? HOT 1
- kratos proto client api/helloworld/v2 fail? HOT 1
- [Question] HOT 2
- [Feature]go-kratos 的ResponseEncoder 可以根据不同的路由,设置不同的encoder吗 HOT 2
- [Feature] Add convenient functions to return official codec in encoding package. HOT 5
- [Question] Whether the k8s Headless service supports namespaces HOT 1
- kratos new helloworld - does not work
- [Question] How to define 4xx, 5xx response codes in openapi spec generate from proto definitions HOT 1
- [Question]In the streaming mode of grpc, docking with jwt failed HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kratos.