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(applicationId: String, ledgerIdRequirement: LedgerIdRequirement, commandClient: CommandClientConfiguration, token: Option[String] = None) extends Product with Serializable
- applicationId
The string that will be used as an application identifier when issuing commands and retrieving transactions
- ledgerIdRequirement
A LedgerIdRequirement specifying how the ledger identifier must be checked against the one returned by the LedgerIdentityService
- 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)
- final case class LedgerIdRequirement(optionalLedgerId: Option[String]) extends Product with Serializable
- optionalLedgerId
The ID of the target ledger. If defined, the client will only communicate with ledgers that have the expected LedgerId. Note that this setting only affects the binding process, when the ledger ID on the server is checked.
Value Members
- object CommandClientConfiguration extends Serializable
- object LedgerClientChannelConfiguration extends Serializable
- object LedgerIdRequirement extends Serializable