package configuration
- Alphabetic
- Public
- Protected
Type Members
- final case class CommandClientConfiguration(maxCommandsInFlight: Int, maxParallelSubmissions: Int, defaultDeduplicationTime: Duration) extends Product with Serializable
- maxCommandsInFlight
The maximum number of unconfirmed commands the client may track. The client will backpressure when this number is reached.
- maxParallelSubmissions
The maximum number of parallel command submissions at a given time. The client will backpressure when this number is reached.
- defaultDeduplicationTime
The deduplication time to use for commands that do not have a deduplication time set. The deduplication time is also used as the time after which commands time out in the command client.
- final case class LedgerClientChannelConfiguration(sslContext: Option[SslContext], maxInboundMetadataSize: Int = GrpcUtil.DEFAULT_MAX_HEADER_LIST_SIZE, maxInboundMessageSize: Int = LedgerClientChannelConfiguration.DefaultMaxInboundMessageSize) extends Product with Serializable
- sslContext
If defined, the context will be passed on to the underlying gRPC code to ensure the communication channel is secured by TLS
- maxInboundMetadataSize
The maximum size of the response headers.
- maxInboundMessageSize
The maximum (uncompressed) size of the response body.
- final case class LedgerClientConfiguration(userId: String, commandClient: CommandClientConfiguration, token: Option[String] = None) extends Product with Serializable
- userId
The string that will be used as an user identifier when issuing commands and retrieving transactions
- commandClient
The CommandClientConfiguration that defines how the command client should be setup with regards to timeouts, commands in-flight and command TTL
- token
If defined, the access token that will be passed by default, unless overridden in individual calls (mostly useful for short-lived applications)
Value Members
- object CommandClientConfiguration extends Serializable
- object LedgerClientChannelConfiguration extends Serializable