io.scalecube:scalecube-services-gateway-websocket

ScaleCube is a lightweight decentralized cluster membership, failure detection, messaging and gossip protocol library for the Java VM.

License

License

Categories

Categories

ScaleCube Services Application Layer Libs Distributed Applications
GroupId

GroupId

io.scalecube
ArtifactId

ArtifactId

scalecube-services-gateway-websocket
Last Version

Last Version

2.6.0
Release Date

Release Date

Type

Type

jar
Description

Description

ScaleCube is a lightweight decentralized cluster membership, failure detection, messaging and gossip protocol library for the Java VM.

Download scalecube-services-gateway-websocket

How to add to project

<!-- https://jarcasting.com/artifacts/io.scalecube/scalecube-services-gateway-websocket/ -->
<dependency>
    <groupId>io.scalecube</groupId>
    <artifactId>scalecube-services-gateway-websocket</artifactId>
    <version>2.6.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.scalecube/scalecube-services-gateway-websocket/
implementation 'io.scalecube:scalecube-services-gateway-websocket:2.6.0'
// https://jarcasting.com/artifacts/io.scalecube/scalecube-services-gateway-websocket/
implementation ("io.scalecube:scalecube-services-gateway-websocket:2.6.0")
'io.scalecube:scalecube-services-gateway-websocket:jar:2.6.0'
<dependency org="io.scalecube" name="scalecube-services-gateway-websocket" rev="2.6.0">
  <artifact name="scalecube-services-gateway-websocket" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.scalecube', module='scalecube-services-gateway-websocket', version='2.6.0')
)
libraryDependencies += "io.scalecube" % "scalecube-services-gateway-websocket" % "2.6.0"
[io.scalecube/scalecube-services-gateway-websocket "2.6.0"]

Dependencies

compile (4)

Group / Artifact Type Version
io.scalecube : scalecube-services-gateway-common jar 2.6.0
com.fasterxml.jackson.datatype : jackson-datatype-jsr310 jar 2.9.8
com.fasterxml.jackson.core : jackson-core jar 2.9.8
com.fasterxml.jackson.core : jackson-databind jar 2.9.8

test (6)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-engine jar 5.1.1
org.junit.jupiter : junit-jupiter-params jar 5.1.1
org.mockito : mockito-junit-jupiter jar 2.24.5
org.hamcrest : hamcrest-all jar 1.3
org.hamcrest : hamcrest-core jar 1.3
io.projectreactor : reactor-test jar

Project Modules

There are no modules declared in this project.

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}
io.scalecube

SCΛLΞ CUBΞ

⚛ High-Speed ⚛ Cloud-Native ⚛ Reactive Microservices ⚛

Versions

Version
2.6.0
2.5.11
2.5.10
2.5.9
2.5.7
2.5.6
2.5.5
2.5.4
2.5.3
2.5.2
2.4.11
2.4.10
2.4.9
2.4.8
2.4.7
2.4.6
2.4.5
2.4.4
2.4.3
2.4.2
2.4.1