Pravega provides a new storage abstraction - a stream - for continuous and unbounded data. A Pravega stream is an elastic set of durable and append-only segments, each segment being an unbounded sequence of bytes. Streams provide exactly-once semantics, and atomicity for groups of events using transactions.
com.typesafe.akka akka-stream_2.13 2.10.0 BUSL-1.1
com.typesafe.akka akka-actor_2.13 2.10.0 BUSL-1.1
com.typesafe config 1.4.3 Apache-2.0
org.scala-lang scala-library 2.13.12 Apache-2.0
com.typesafe.akka akka-protobuf-v3_2.13 2.10.0 BUSL-1.1
org.reactivestreams reactive-streams 1.0.4 MIT-0
org.scala-lang scala-library 2.13.12 Apache-2.0
io.pravega pravega-client 0.13.0 The Apache License, Version 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
io.pravega pravega-common 0.13.0 The Apache License, Version 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
commons-io commons-io 2.11.0
org.slf4j slf4j-api 1.7.25
io.pravega pravega-shared-authplugin 0.13.0 The Apache License, Version 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
org.slf4j slf4j-api 1.7.25
io.pravega pravega-shared-controller-api 0.13.0 The Apache License, Version 2.0
com.google.protobuf protobuf-java 3.21.7
commons-io commons-io 2.11.0
io.grpc grpc-auth 1.47.0 Apache 2.0
com.google.auth google-auth-library-credentials 1.4.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
io.grpc grpc-api 1.47.0 Apache 2.0
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
io.grpc grpc-context 1.47.0 Apache 2.0
io.grpc grpc-netty-shaded 1.47.0 Apache 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
io.grpc grpc-core 1.47.0 Apache 2.0
com.google.android annotations 4.1.1.4 Apache 2.0
com.google.code.gson gson 2.9.0 Apache-2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
io.grpc grpc-api 1.47.0 Apache 2.0
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
io.grpc grpc-context 1.47.0 Apache 2.0
io.perfmark perfmark-api 0.25.0 Apache 2.0
org.codehaus.mojo animal-sniffer-annotations 1.19
io.perfmark perfmark-api 0.25.0 Apache 2.0
io.grpc grpc-protobuf 1.47.0 Apache 2.0
com.google.api.grpc proto-google-common-protos 2.0.1 Apache-2.0
com.google.protobuf protobuf-java 3.21.7
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
com.google.protobuf protobuf-java 3.21.7
io.grpc grpc-api 1.47.0 Apache 2.0
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
io.grpc grpc-context 1.47.0 Apache 2.0
io.grpc grpc-protobuf-lite 1.47.0 Apache 2.0
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
io.grpc grpc-api 1.47.0 Apache 2.0
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
io.grpc grpc-context 1.47.0 Apache 2.0
io.grpc grpc-stub 1.47.0 Apache 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
io.grpc grpc-api 1.47.0 Apache 2.0
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
io.grpc grpc-context 1.47.0 Apache 2.0
io.pravega pravega-common 0.13.0 The Apache License, Version 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
commons-io commons-io 2.11.0
org.slf4j slf4j-api 1.7.25
org.apache.commons commons-lang3 3.7
org.slf4j slf4j-api 1.7.25
io.pravega pravega-shared-protocol 0.13.0 The Apache License, Version 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
io.netty netty-handler 4.1.86.Final
io.netty netty-buffer 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-codec 4.1.86.Final
io.netty netty-buffer 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-transport 4.1.86.Final
io.netty netty-buffer 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-resolver 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-resolver 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-transport-native-unix-common 4.1.86.Final
io.netty netty-buffer 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-transport 4.1.86.Final
io.netty netty-buffer 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-resolver 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-transport 4.1.86.Final
io.netty netty-buffer 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-resolver 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-tcnative-boringssl-static 2.0.54.Final The Apache Software License, Version 2.0
io.netty netty-tcnative-classes 2.0.54.Final
io.pravega pravega-common 0.13.0 The Apache License, Version 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
commons-io commons-io 2.11.0
org.slf4j slf4j-api 1.7.25
org.slf4j slf4j-api 1.7.25
io.pravega pravega-shared-security 0.13.0 The Apache License, Version 2.0
io.pravega pravega-common 0.13.0 The Apache License, Version 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
commons-io commons-io 2.11.0
org.slf4j slf4j-api 1.7.25
io.pravega pravega-shared-authplugin 0.13.0 The Apache License, Version 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
org.slf4j slf4j-api 1.7.25
io.pravega pravega-shared-protocol 0.13.0 The Apache License, Version 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
io.netty netty-handler 4.1.86.Final
io.netty netty-buffer 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-codec 4.1.86.Final
io.netty netty-buffer 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-transport 4.1.86.Final
io.netty netty-buffer 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-resolver 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-resolver 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-transport-native-unix-common 4.1.86.Final
io.netty netty-buffer 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-transport 4.1.86.Final
io.netty netty-buffer 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-resolver 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-transport 4.1.86.Final
io.netty netty-buffer 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-resolver 4.1.86.Final
io.netty netty-common 4.1.86.Final
io.netty netty-tcnative-boringssl-static 2.0.54.Final The Apache Software License, Version 2.0
io.netty netty-tcnative-classes 2.0.54.Final
io.pravega pravega-common 0.13.0 The Apache License, Version 2.0
com.google.guava guava 31.0.1-android
com.google.code.findbugs jsr305 3.0.2 The Apache Software License, Version 2.0
com.google.errorprone error_prone_annotations 2.10.0 Apache 2.0
com.google.guava failureaccess 1.0.1
com.google.guava listenablefuture 9999.0-empty-to-avoid-conflict-with-guava
com.google.j2objc j2objc-annotations 1.3 The Apache Software License, Version 2.0
org.checkerframework checker-compat-qual 2.5.5 GNU General Public License, version 2 (GPL2), with the classpath exception
org.checkerframework checker-qual 3.12.0 The MIT License
commons-io commons-io 2.11.0
org.slf4j slf4j-api 1.7.25
org.slf4j slf4j-api 1.7.25
org.bouncycastle bcprov-ext-jdk15on 1.70 Bouncy Castle Licence
org.slf4j slf4j-api 1.7.25
org.slf4j slf4j-api 1.7.25
org.scala-lang scala-library 2.13.12 Apache-2.0
Concepts
Pravega stores streams of events, and streams are organized using scopes. A Pravega stream comprises a one or more parallel segments, and the set of parallel segments can change over time with auto-scaling. Pravega is designed to operate at scale and is able to accommodate a large number of segments and streams.
Pravega has an API to write and read events. An application looking into ingesting data writes events to a stream, while consuming data consists of reading events from a stream. In addition to the events API, Pravega has other APIs that enable an application to read and write bytes rather than events and to read events of a stream out of order (e.g., when batch processing).
Pravega stores stream data durably, and applications can access the stream data using the same API both when tailing the stream and when processing past data. The system is architected so that the underlying storage is elastic and it is able to accommodate unbounded streams.
When writing an event, Pravega accepts a routing key parameter, and it guarantees order per key even in the presence of auto-scaling.
Since version 8.x, Pravega supports write and read access to a Key/Value tables.
sourceakka.alpakka.pravega {## ClientConfig (Pravega internals)
defaults.client-config {# ControllerURI The controller rpc URI. This can be of 2 types# 1. tcp://ip1:port1,ip2:port2,...# This is used if the controller endpoints are static and can be directly accessed.# 2. pravega://ip1:port1,ip2:port2,...# This is used to autodiscovery the controller endpoints from an initial controller list.#controller-uri = "tcp://localhost:9090"# An optional property representing whether to enable TLS for client's communication with the Controller.# If this property and enable-tls-to-segment-store are not set, and the scheme used in controller-uri# is "tls" or "pravegas", TLS is automatically enabled for both client-to-Controller and# client-to-Segment Store communications.#enable-tls-to-controller = false# An optional property representing whether to enable TLS for client's communication with the Controller.# If this property and 'enable-tls-to-controller' are not set, and the scheme used in 'controller-uri'# is "tls" or "pravegas", TLS is automatically enabled for both client-to-Controller and# client-to-Segment Store communications.#enable-tls-to-segment-store = false# Maximum number of connections per Segment store to be used by connection pooling.#max-connections-per-segment-store=10# Path to an optional truststore. If this is null or empty, the default JVM trust store is used.# This is currently expected to be a signing certificate for the certification authority.#trust-store# If the flag 'isEnableTls' is set, this flag decides whether to enable host name validation or not.#validate-host-name=true}
reader {
client-config = ${akka.alpakka.pravega.defaults.client-config}# ReaderConfig (Pravega internals)
config {#disable-time-windows = false#initial-allocation-delay = 0}
timeout =1 second
# The reader-id must be unique across all instances of a reader group.# When a reader-id is not provided one is randomly generated each time a Reader Source is created.#reader-id="scala-reader-id"}
writer {
client-config = ${akka.alpakka.pravega.defaults.client-config}
maximum-inflight-messages =10# EventWriterConfig (Pravega internals)
config {#automatically-note-time=false#backoff-multiple=10#enable-connection-pooling=false#initial-backoff-millis=1#retry-attempts=10## The transaction timeout parameter corresponds to the lease renewal period.# In every period, the client must send at least one ping to keep the txn alive.# If the client fails to do so, then Pravega aborts the txn automatically. The client# sends pings internally and requires no application intervention, only that it sets# this parameter accordingly.## This parameter is additionally used to determine the total amount of time that# a txn can remain open. Currently, we set the maximum amount of time for a# txn to remain open to be the minimum between 1 day and 1,000 times the value# of the lease renewal period. The 1,000 is hardcoded and has been chosen arbitrarily# to be a large enough value.## The maximum allowed lease time by default is 120s, see:## io.pravega.controller.util.Config.PROPERTY_TXN_MAX_LEASE## The maximum allowed lease time is a configuration parameter of the controller# and can be changed accordingly. Note that being a controller-wide parameter,# it affects all transactions.#transaction-timeout-time=89999L}}
table {
client-config = ${akka.alpakka.pravega.defaults.client-config}
maximum-inflight-messages =10# Max entries retrived by iterator.
max-entries-at-once =100}}
sourceSource(1 to 100).map(i => s"event_$i").runWith(Pravega.sink("an_existing_scope","an_existing_streamName", writerSettings))Source(1 to 100).map { i =>
val routingKey = i %10
s"${routingKey}_event_$i"}.runWith(Pravega.sink("an_existing_scope","an_existing_streamName", writerSettingsWithRoutingKey))
source // Write through a flowSource(1 to 10).map(id =>(id,Person(id, s"name_$id"))).via(PravegaTable.writeFlow("an_existing_scope","an_existing_tablename", tablewriterSettings)).runWith(Sink.ignore)// Write in a sinkSource(1 to 10).map(id =>(id,Person(id, s"name_$id"))).runWith(PravegaTable.sink("an_existing_scope","an_existing_tablename", tablewriterSettings))