Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMigrationExecuteCmd ¶
Types ¶
type MigrationExecutor ¶
type MigrationExecutor struct {
// contains filtered or unexported fields
}
func NewMigrationExecutor ¶
func NewMigrationExecutor(opts MigrationExecutorOpts) *MigrationExecutor
func (*MigrationExecutor) Run ¶
func (m *MigrationExecutor) Run() error
type MigrationExecutorOpts ¶
type MigrationExecutorOpts struct {
MigrationStateFile string
MigrationState migration.MigrationState
MigrationConfig migration.MigrationConfig
LagThreshold int64
ClusterApiKey string
ClusterApiSecret string
ClusterBootstrap string
SourceBootstrap string
AWSRegion string
AuthType types.AuthType
SaslScramUsername string
SaslScramPassword string
SaslScramMechanism string
SaslPlainUsername string
SaslPlainPassword string
TlsCaCert string
TlsClientCert string
TlsClientKey string
InsecureSkipTLSVerify bool
// RolloutTimeout bounds the gateway-readiness wait during fence and
// switch. A value of 0 means no deadline — the wait runs until the
// operator reports ready or the user cancels.
RolloutTimeout time.Duration
// PromoteBatchSize caps how many mirror topics are promoted per batch. A
// value of 0 means unlimited (all at once); >0 processes topics in
// synchronous batches of this size, waiting for each batch to reach
// STOPPED before promoting the next.
PromoteBatchSize int
}
Click to show internal directories.
Click to hide internal directories.