Skip to content
This repository was archived by the owner on May 21, 2020. It is now read-only.

Commit b0e6b33

Browse files
Update README.md
1 parent 03419c4 commit b0e6b33

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For more information about KCL please visit the [official documentation](http://
3131

3232
```scala
3333
resolvers += "aserrallerios bintray" at "https://dl.bintray.com/content/aserrallerios/maven"
34-
libraryDependencies += "aserrallerios" %% "kcl-akka-stream" % "0.3"
34+
libraryDependencies += "aserrallerios" %% "kcl-akka-stream" % "0.4"
3535
```
3636

3737
## Usage
@@ -45,7 +45,8 @@ In order to use it, you need to provide a Worker builder and the Source settings
4545
```scala
4646
val workerSourceSettings = KinesisWorkerSourceSettings(
4747
bufferSize = 1000,
48-
terminateStreamGracePeriod = 1 minute)
48+
terminateStreamGracePeriod = 1 minute,
49+
backpressureTimeout = 1 minute)
4950
val builder: IRecordProcessorFactory => Worker = { recordProcessorFactory =>
5051
new Worker.Builder()
5152
.recordProcessorFactory(recordProcessorFactory)
@@ -89,6 +90,8 @@ KinesisWorkerSource(builder, workerSourceSettings).to(
8990
KinesisWorker.checkpointRecordsSink(checkpointSettings))
9091
```
9192

93+
Note that checkpointer Flow may not maintain input order of records of different shards.
94+
9295
## License
9396

9497
Copyright (c) 2018 Albert Serrallé
@@ -103,4 +106,4 @@ We build on a number of third-party software tools, with the following licenses:
103106

104107
Third-Party software | License
105108
----------------------------|-----------------------
106-
amazon-kinesis-client | Amazon Software License
109+
amazon-kinesis-client | Amazon Software License

0 commit comments

Comments
 (0)