o-pravega_2.13.0.11.0.source-code.reference.conf Maven / Gradle / Ivy
The newest version!
zio.pravega {
#
# ClientConfig (Pravega internals)
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 {
# ReaderConfig (Pravega internals)
config {
#disable-time-windows = false
#initial-allocation-delay = 0
}
timeout = 1 second
#group-name="scala-group-name"
# 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 {
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 {
maximum-inflight-messages = 10
# Max entries retrived by iterator.
max-entries-at-once = 100
}
}