final case class Config(serverConfig: LedgerApiServerConfig, jsonApiConfig: Option[JsonApiConfig], indexerConfig: IndexerConfig, indexerHaConfig: HaConfig, ledgerId: LedgerId, participantId: LedgerParticipantId, engine: Engine, syncService: CantonSyncService, storageConfig: StorageConfig, cantonParameterConfig: ParticipantNodeParameters, testingTimeService: Option[TimeServiceBackend], adminToken: CantonAdminToken, enableCommandInspection: Boolean, loggerFactory: NamedLoggerFactory, tracerProvider: TracerProvider, metrics: Metrics, jsonApiMetrics: HttpApiMetrics, meteringReportKey: MeteringReportKey) extends NamedLogging with Product with Serializable
Config for ledger API server and indexer
- serverConfig
ledger API server configuration
- jsonApiConfig
JSON API configuration
- indexerConfig
indexer configuration
- indexerHaConfig
configuration for indexer HA
- ledgerId
unique ledger id used by the ledger API server
- participantId
unique participant id used e.g. for a unique ledger API server index db name
- engine
daml engine shared with Canton for performance reasons
- syncService
canton sync service implementing both read and write services
- storageConfig
canton storage config so that indexer can share the participant db
- cantonParameterConfig
configurations meant to be overridden primarily in tests (applying to all participants)
- testingTimeService
an optional service during testing for advancing time, participant-specific
- adminToken
canton admin token for ledger api auth
- enableCommandInspection
whether canton should support inspection service or not
- loggerFactory
canton logger factory
- tracerProvider
tracer provider for open telemetry grpc injection
- metrics
upstream metrics module
- Alphabetic
- By Inheritance
- Config
- Serializable
- Product
- Equals
- NamedLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Config(serverConfig: LedgerApiServerConfig, jsonApiConfig: Option[JsonApiConfig], indexerConfig: IndexerConfig, indexerHaConfig: HaConfig, ledgerId: LedgerId, participantId: LedgerParticipantId, engine: Engine, syncService: CantonSyncService, storageConfig: StorageConfig, cantonParameterConfig: ParticipantNodeParameters, testingTimeService: Option[TimeServiceBackend], adminToken: CantonAdminToken, enableCommandInspection: Boolean, loggerFactory: NamedLoggerFactory, tracerProvider: TracerProvider, metrics: Metrics, jsonApiMetrics: HttpApiMetrics, meteringReportKey: MeteringReportKey)
- serverConfig
ledger API server configuration
- jsonApiConfig
JSON API configuration
- indexerConfig
indexer configuration
- indexerHaConfig
configuration for indexer HA
- ledgerId
unique ledger id used by the ledger API server
- participantId
unique participant id used e.g. for a unique ledger API server index db name
- engine
daml engine shared with Canton for performance reasons
- syncService
canton sync service implementing both read and write services
- storageConfig
canton storage config so that indexer can share the participant db
- cantonParameterConfig
configurations meant to be overridden primarily in tests (applying to all participants)
- testingTimeService
an optional service during testing for advancing time, participant-specific
- adminToken
canton admin token for ledger api auth
- enableCommandInspection
whether canton should support inspection service or not
- loggerFactory
canton logger factory
- tracerProvider
tracer provider for open telemetry grpc injection
- metrics
upstream metrics module
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val adminToken: CantonAdminToken
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val cantonParameterConfig: ParticipantNodeParameters
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val enableCommandInspection: Boolean
- val engine: Engine
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val indexerConfig: IndexerConfig
- val indexerHaConfig: HaConfig
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val jsonApiConfig: Option[JsonApiConfig]
- val jsonApiMetrics: HttpApiMetrics
- val ledgerId: LedgerId
- def logger: TracedLogger
- Definition Classes
- Config → NamedLogging
- val loggerFactory: NamedLoggerFactory
- Definition Classes
- Config → NamedLogging
- val meteringReportKey: MeteringReportKey
- val metrics: Metrics
- implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noTracingLogger: Logger
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val participantId: LedgerParticipantId
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val serverConfig: LedgerApiServerConfig
- val storageConfig: StorageConfig
- val syncService: CantonSyncService
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val testingTimeService: Option[TimeServiceBackend]
- val tracerProvider: TracerProvider
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])