GithubHelp home page GithubHelp logo

afixer / kitex-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudwego/kitex-examples

0.0 0.0 0.0 21.78 MB

Examples for Kitex.

License: Apache License 2.0

Shell 6.78% Python 0.02% Go 90.18% Makefile 0.20% Thrift 2.40% Dockerfile 0.42%

kitex-examples's Introduction

Kitex Examples

English | δΈ­ζ–‡

How to run

You can go into the related examples for information on "how to run"

Bizdemo

  • bizdemo/easy_note Example of using kitex as an rpc framework to implement a simple note service with multiple middlewares
  • Bookinfo Example of using kitex as the rpc framework to implement multi-functional book service programs including istio, opentelemetry, etc.
  • Open Payment Platform Example of using kitex as the rpc framework to demonstrate the usage of kitex generic call, and builds an integrated payment platform.
  • Book Shop Example of using kitex as an rpc framework to implement an e-commerce system including an ElasticSearch search engine
  • FreeCar Example of using kitex as the rpc framework to implement cloud native time-sharing car rental system suite services

Basic features

  • basic Basic example of kitex
  • async_call Example of using asynchronous call in kitex server
  • codec Example of kitex server and client using custom codecs
    • codec-dubbo Example of dubbo protocol codec launched by Kitex to support kitex <-> dubbo interoperability
  • long_connection Kitex example of using long connections between server and client
  • streaming Example of kitex server and client using streams
  • business_exception Example of kitex server and client using business exceptions
  • middleware Kitex Example of using middleware between server and client

Governance Features

  • Example of kitex server using configuration center to connect to governance features
    • etcd Kitex server uses etcd as an example of connecting the configuration center with governance features
    • nacos Kitex server uses nacos as an example of connecting the configuration center with governance features
    • apollo Kitex server uses apollo as an example of connecting the configuration center with governance features
  • discovery Example of kitex server and client using service registration and discovery
    • etcd Example of kitex server and client using etcd as service registration center
    • nacos Kitex server and client use nacos as an example of service registration center
    • polaris Kitex server and client use polaris as an example of service registration center
    • zookeeper Example of kitex server and client using zookeeper as service registration center
    • consul Example of kitex server and client using consul as service registration center
    • servicecomb Kitex server and client use servicecomb as an example of service registration center
    • eureka Kitex server and client use eureka as an example of service registration center
    • dns Example of kitex server and client using dns for service discovery
    • resolver_rule_based provides a rule-based resolver for kitex. It allows users to configure rules in service discovery to filter service instances and implement traffic segmentation.
  • timeout Example of using timeout control between kitex server and client
  • limit Example of using current limit on kitex server
  • circuit_breaker Example of kitex client using circuit breaker
  • retry Example of kitex client using retry
  • load_balance Example of kitex server and client using load balancing

Observability

  • opentelemetry Example of kitex server and client using opentelemetry
  • prometheus Example of kitex server and client using prometheus
  • tracer Example of using tracer on kitex server and client
  • klog Example of using klog logs on the kitex server

Advanced features

  • frugal Kitex example of using frugal on the server and client
  • grpc_proxy Example of kitex server and client using grpc_proxy
  • generic kitex example of using generic calls between server and client
  • meta_info Example of kitex server and client using meta information
  • profiler Example of kitex server and client performance analysis using request cost metrics
  • proxyless Example of letting Kitex services run in proxyless mode and be managed uniformly by the service mesh

Kitex generated code

  • protobuf Example of using kitex and protobuf to generate server code
  • template Example of using kitex custom template to generate server code
  • thrift Example of using kitex and thrift to generate server code
  • protobuf Example of using kitex and protobuf to generate server code

Note

All commands to execute the example should be executed under "kitex-example".

kitex-examples's People

Contributors

simon0-o avatar guangmingluo avatar li-jin-gou avatar violapioggia avatar coderpoet avatar baiyutang avatar ppzqh avatar rogerogers avatar justlorain avatar felix021 avatar purewhitewu avatar dependabot[bot] avatar joway avatar kezhenxu94 avatar h1deonbush avatar gityh2021 avatar daidai21 avatar baize1998 avatar ag9920 avatar mull1on avatar heyjavabean avatar jasonhxiang avatar xz0730 avatar cold-runner avatar gaozizhong avatar duslia avatar

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.