All Projects → scalecube → scalecube-gateway

scalecube / scalecube-gateway

Licence: Apache-2.0 license
ScaleCube API Gateway is the single entry point for service consumers. handles incoming requests and proxy/route to the appropriate microservice instance.

Programming Languages

java
68154 projects - #9 most used programming language
HTML
75241 projects

scalecube-gateway

ScaLecube API Gateway allows service consumers interact with scalecube microservices cluster.

image

Read about it here:

API-Gateway:

Available api-gateways are rsocket, http and websocket

Basic API-Gateway example:

    Microservices.builder()
        .discovery(options -> options.seeds(seed.discovery().address()))
        .services(...) // OPTIONAL: services (if any) as part of this node.

        // configure list of gateways plugins exposing the apis
        .gateway(options -> new WebsocketGateway(options.id("ws").port(8080)))
        .gateway(options -> new HttpGateway(options.id("http").port(7070)))
        .gateway(options -> new RSocketGateway(options.id("rsws").port(9090)))
        
        .startAwait();
        
        // HINT: you can try connect using the api sandbox to these ports to try the api.
        // http://scalecube.io/api-sandbox/app/index.html

Service API-Gateway providers:

releases: https://github.com/scalecube/scalecube-services/releases

io.scalecube scalecube-services-transport-jackson ${scalecube.version} io.scalecube scalecube-services-transport-protostuff ${scalecube.version} io.scalecube scalecube-services-discovery ${scalecube.version}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].