Skip to content

Commit e75dda6

Browse files
committed
Merge branch 'release/0.12.1'
2 parents 21c39bd + 6efab27 commit e75dda6

File tree

204 files changed

+4752
-13192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

204 files changed

+4752
-13192
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public class ExampleClient {
8282

8383
## Zero Copy
8484
By default to make RSocket easier to use it copies the incoming Payload. Copying the payload comes at cost to performance
85-
and latency. If you want to use zero copy you must disable this. To disable copying you must include a `frameDecoder`
85+
and latency. If you want to use zero copy you must disable this. To disable copying you must include a `payloadDecoder`
8686
argument in your `RSocketFactory`. This will let you manage the Payload without copying the data from the underlying
8787
transport. You must free the Payload when you are done with them
8888
or you will get a memory leak. Used correctly this will reduce latency and increase performance.
@@ -91,7 +91,7 @@ or you will get a memory leak. Used correctly this will reduce latency and incre
9191
```java
9292
RSocketFactory.receive()
9393
// Enable Zero Copy
94-
.frameDecoder(Frame::retain)
94+
.payloadDecoder(Frame::retain)
9595
.acceptor(new PingHandler())
9696
.transport(TcpServerTransport.create(7878))
9797
.start()
@@ -105,7 +105,7 @@ RSocketFactory.receive()
105105
Mono<RSocket> client =
106106
RSocketFactory.connect()
107107
// Enable Zero Copy
108-
.frameDecoder(Frame::retain)
108+
.payloadDecoder(Frame::retain)
109109
.transport(TcpClientTransport.create(7878))
110110
.start();
111111
```

build.gradle

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
plugins {
1818
id 'com.gradle.build-scan' version '1.16'
1919

20-
id 'com.github.sherter.google-java-format' version '0.7.1'
20+
id 'com.github.sherter.google-java-format' version '0.7.1' apply false
2121
id 'com.jfrog.artifactory' version '4.7.3' apply false
2222
id 'com.jfrog.bintray' version '1.8.4' apply false
2323
id 'me.champeau.gradle.jmh' version '0.4.7' apply false
@@ -27,8 +27,9 @@ plugins {
2727

2828
subprojects {
2929
apply plugin: 'io.spring.dependency-management'
30+
apply plugin: 'com.github.sherter.google-java-format'
3031

31-
ext['reactor-bom.version'] = 'Californium-SR3'
32+
ext['reactor-bom.version'] = 'Californium-SR5'
3233
ext['logback.version'] = '1.2.3'
3334
ext['findbugs.version'] = '3.0.2'
3435
ext['netty.version'] = '4.1.31.Final'
@@ -42,6 +43,10 @@ subprojects {
4243
ext['micrometer.version'] = '1.0.6'
4344
ext['assertj.version'] = '3.11.1'
4445

46+
googleJavaFormat {
47+
toolVersion = '1.6'
48+
}
49+
4550
dependencyManagement {
4651
imports {
4752
mavenBom "io.projectreactor:reactor-bom:${ext['reactor-bom.version']}"
@@ -188,10 +193,6 @@ buildScan {
188193

189194
description = 'RSocket: Stream Oriented Messaging Passing with Reactive Stream Semantics.'
190195

191-
googleJavaFormat {
192-
toolVersion = '1.5'
193-
}
194-
195196
repositories {
196197
mavenCentral()
197198
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# limitations under the License.
1313
#
1414

15-
version=0.11.16-SNAPSHOT
15+
version=0.12.1-RC1

rsocket-core/src/jmh/java/io/rsocket/RSocketPerf.java

Lines changed: 0 additions & 199 deletions
This file was deleted.

0 commit comments

Comments
 (0)