LogFactory

@Serializable
@SerialName(value = "!Kafka")
data class LogFactory @JvmOverloads constructor(val cluster: RemoteAlias, val topic: String, var replicaCluster: RemoteAlias = cluster, var replicaTopic: String = "-replica", var autoCreateTopic: Boolean = true, var epoch: Int = 0, var termEpoch: Int = 0) : Log.Factory

Constructors

Link copied to clipboard
constructor(cluster: RemoteAlias, topic: String, replicaCluster: RemoteAlias = cluster, replicaTopic: String = "-replica", autoCreateTopic: Boolean = true, epoch: Int = 0, termEpoch: Int = 0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var epoch: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Declares that the leader-election counter behind this log has been reset, so that terms from before the reset still order below terms from after it. Bump it — never lower it — whenever that happens; a node that finds its own term already fenced on the replica log refuses to lead and names this setting. See LeaderTerm.

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun openReadOnlyReplicaLog(remotes: Map<RemoteAlias, Remote>, partitions: Int): ReadOnlyLog<ReplicaMessage>
Link copied to clipboard
open override fun openReadOnlySourceLog(remotes: Map<RemoteAlias, Remote>, partitions: Int): ReadOnlyLog<SourceMessage>
Link copied to clipboard
open override fun openReplicaLog(remotes: Map<RemoteAlias, Remote>, partitions: Int): Log<ReplicaMessage>
Link copied to clipboard
open override fun openSourceLog(remotes: Map<RemoteAlias, Remote>, partitions: Int): Log<SourceMessage>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun writeTo(dbConfig: DatabaseConfig.Builder)