From 529d59811cb81ce1f6aef8ba3468082c8f079d28 Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 13 May 2020 17:53:59 +0300 Subject: [PATCH] #1 - readme fixes --- README.md | 4 ++-- pom.xml | 26 +++++++++++++++++++++++++- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 83e5d1c..24a61f1 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Reactive Input Output objects for Java: - [RS-TCK](https://github.com/reactive-streams/reactive-streams-jvm/tree/master/tck) compatible (see tests for [publishers](https://github.com/g4s8/rio/blob/master/src/test/java/wtf/g4s8/rio/file/ReadFlowTest.java) and [subscribers](https://github.com/g4s8/rio/blob/master/src/test/java/wtf/g4s8/rio/file/WriteSubscriberTest.java)) - No dependencies: the only dependency is `org.reactivestreams:reactive-streams` interfaces - +[![Maven Build](https://github.com/g4s8/rio/workflows/Maven%20Build/badge.svg)](https://github.com/g4s8/rio/actions?query=workflow%3A%22Maven+Build%22) ## Install @@ -42,7 +42,7 @@ import wtf.g4s8.rio.file.File; Publisher content = new File(Paths.get("/tmp/my/file.txt")).content(); ``` -The file will be read on demand (`request` method of `Subscription`) with all respect to backpressue. +The file will be read on demand with all respect to backpressure. This default implementation uses 8 kilobytes buffer to read the file. To tune the buffer allocation strategy use overloaded `Publisher read(Buffers buffers)` method, diff --git a/pom.xml b/pom.xml index d725b02..4367d72 100644 --- a/pom.xml +++ b/pom.xml @@ -1,9 +1,33 @@ + 4.0.0 wtf.g4s8 rio - 0.1 + 1.0-SNAPSHOT com.artipie ppom