Alibaba embedded RSocket Broker for Spring Boot testing


License

License

GroupId

GroupId

com.alibaba.rsocket
ArtifactId

ArtifactId

embedded-rsocket-broker
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

Alibaba embedded RSocket Broker for Spring Boot testing
Alibaba embedded RSocket Broker for Spring Boot testing
Project URL

Project URL

https://github.com/alibaba-rsocket-broker/embedded-rsocket-broker
Source Code Management

Source Code Management

https://github.com/alibaba-rsocket-broker/embedded-rsocket-broker

Download embedded-rsocket-broker

How to add to project

<!-- https://jarcasting.com/artifacts/com.alibaba.rsocket/embedded-rsocket-broker/ -->
<dependency>
    <groupId>com.alibaba.rsocket</groupId>
    <artifactId>embedded-rsocket-broker</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.alibaba.rsocket/embedded-rsocket-broker/
implementation 'com.alibaba.rsocket:embedded-rsocket-broker:1.0.0'
// https://jarcasting.com/artifacts/com.alibaba.rsocket/embedded-rsocket-broker/
implementation ("com.alibaba.rsocket:embedded-rsocket-broker:1.0.0")
'com.alibaba.rsocket:embedded-rsocket-broker:jar:1.0.0'
<dependency org="com.alibaba.rsocket" name="embedded-rsocket-broker" rev="1.0.0">
  <artifact name="embedded-rsocket-broker" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.alibaba.rsocket', module='embedded-rsocket-broker', version='1.0.0')
)
libraryDependencies += "com.alibaba.rsocket" % "embedded-rsocket-broker" % "1.0.0"
[com.alibaba.rsocket/embedded-rsocket-broker "1.0.0"]

Dependencies

compile (3)

Group / Artifact Type Version
com.playtika.testcontainers : testcontainers-common jar 2.0.5
com.alibaba.rsocket : testcontainers-rsocket-broker-module jar 1.0.1
org.springframework.boot : spring-boot-configuration-processor Optional jar

provided (1)

Group / Artifact Type Version
org.springframework.cloud : spring-cloud-starter-bootstrap jar

test (2)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter jar
org.assertj : assertj-core jar 3.19.0

Project Modules

There are no modules declared in this project.

Embedded RSocket Broker

Embed RSocket Broker in Spring Boot unit test by testcontainers-spring-boot.

Quickstart

<dependency>
   <groupId>com.alibaba.rsocket</groupId>
   <artifactId>embedded-rsocket-broker</artifactId>
   <version>1.0.0</version>
   <scope>test</scope>
 </dependency>
  • Modify src/test/resources/application.properties add following configuration
rsocket.brokers=${embedded.rsocket.uri}

References

com.alibaba.rsocket

Alibaba RSocket Broker

Alibaba RSocket Broker: Mesh, Streaming & IoT

Versions

Version
1.0.0