Giter Site home page Giter Site logo

Comments (4)

YangruiEmma avatar YangruiEmma commented on May 4, 2024

一个 service 可以有多少方法,这里注册多个service的诉求是?
内部针对生成代码较多的case,提供了服务拆分支持,可以支持多个idl service,但是通过生成代码支持的,实际注册的还是一个https://www.cloudwego.io/zh/docs/tutorials/code-gen/combine_service/

from kitex.

ploynomail avatar ploynomail commented on May 4, 2024

我们一个项目中的idl 统一维护一个仓库,由不同模块人员维护。 这就不能保证我使用模块的方法都来自一个service,所以发出这个issue,combine_service 可以为每个service生成代码,我不能把每个service代码都集中注册到一个server当中然后run。

from kitex.

YangruiEmma avatar YangruiEmma commented on May 4, 2024

我们一个项目中的idl 统一维护一个仓库,由不同模块人员维护。 这就不能保证我使用模块的方法都来自一个service,所以发出这个issue,combine_service 可以为每个service生成代码,我不能把每个service代码都集中注册到一个server当中然后run。

combine_service 可以把多个idl service合并成一个"combine_service",这个"combine_service"会被注册到server,不知道这样可否解决您的问题呢?
通常来说一个idl service对应到一个服务,您这边一个idl service也会有不同的服务吗?

from kitex.

ploynomail avatar ploynomail commented on May 4, 2024

谢谢耐心解答,这个是我们服务管理的问题。

from kitex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.