com.digitalasset.canton.domain.sequencing
EnterpriseSequencerConfig
Companion trait EnterpriseSequencerConfig
object EnterpriseSequencerConfig
- Alphabetic
- By Inheritance
- EnterpriseSequencerConfig
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class Database(writer: SequencerWriterConfig = SequencerWriterConfig.LowLatency(), reader: EnterpriseSequencerReaderConfig = EnterpriseSequencerReaderConfig(), highAvailability: SequencerHighAvailabilityConfig = SequencerHighAvailabilityConfig(), testingInterceptor: Option[TestingInterceptor] = None) extends EnterpriseSequencerConfig with DatabaseSequencerConfig with Product with Serializable
- case class EnterpriseSequencerReaderConfig(readBatchSize: Int = SequencerReaderConfig.defaultReadBatchSize, checkpointInterval: NonNegativeFiniteDuration = SequencerReaderConfig.defaultCheckpointInterval, pollingInterval: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofMillis(100)) extends SequencerReaderConfig with Product with Serializable
Configuration for the database based sequence reader in enterprise.
Configuration for the database based sequence reader in enterprise.
- pollingInterval
how frequently to poll for new events from the database. only used if high availability has been configured, otherwise will rely on local writes performed by this sequencer to indicate that new events are available.
- case class Ethereum(config: EthereumLedgerNodeConfig[SequencerContractConfig]) extends EnterpriseSequencerConfig with Product with Serializable
- case class Fabric(config: FabricLedgerConfig) extends EnterpriseSequencerConfig with Product with Serializable
- case class SequencerHighAvailabilityConfig(enabled: Boolean = false, totalNodeCount: PositiveInt = PositiveInt.tryCreate(10), keepAliveInterval: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofMillis(100L), onlineCheckInterval: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofSeconds(5L), offlineDuration: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofSeconds(8L), connectionPool: DbLockedConnectionPoolConfig = DbLockedConnectionPoolConfig()) extends Product with Serializable
Configuration for how many sequencers are concurrently operating within the domain.
Configuration for how many sequencers are concurrently operating within the domain.
- enabled
Set to true to enable HA for the sequencer.
- totalNodeCount
how many sequencer writers will there ever be in this domain. recommend setting to a value larger than the current topology to allow for expansion.
- keepAliveInterval
how frequently will we ensure the sequencer watermark is updated to ensure it still appears alive
- onlineCheckInterval
how frequently should this sequencer check that nodes are still online
- offlineDuration
how long should a sequencer watermark be lagging for it to be flagged as offline
- connectionPool
configuration of the write connection pool used by an HA sequencer instance.
- case class Vmbc(config: VmbcSequencerConfig) extends EnterpriseSequencerConfig with Product with Serializable
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])