Skip to main content
Version: 2.1.0

Playback namespace configuration

Common configuration

NameExampleDescription
NATS_URLNATS url
NATS_STORAGE_TYPE"0"NATS storage type: 0 - files, 1 - memory
NATS_EVENT_STREAMDebeziumStreamStream name for playback event
NATS_EVENT_SUBJECTaoh.live.postgres.*Stream subject for playback event
TRANSFORM_MESSAGE_DB_HOSTlocalhostTransform message DB information
TRANSFORM_MESSAGE_DB_PORT5432Transform message DB information
TRANSFORM_MESSAGE_DB_DATABASEpostgresTransform message DB information
TRANSFORM_MESSAGE_DB_SCHEMApublicTransform message DB information
TRANSFORM_MESSAGE_DB_USERpostgresTransform message DB information
TRANSFORM_MESSAGE_DB_PASSWORDTransform message DB information
LIVE_DB_HOSTlocalhostLive DB information
LIVE_DB_PORT5432Live DB information
LIVE_DB_DATABASEpostgresLive DB information
LIVE_DB_USERpostgresLive DB information
LIVE_DB_PASSWORDLive DB information
LIVE_DB_SSL_MODEdisableLive DB information
PLAYBACK_DB_HOSTlocalhostLive DB information
PLAYBACK_DB_PORT5432Live DB information
PLAYBACK_DB_DATABASEpostgresLive DB information
PLAYBACK_DB_USERpostgresLive DB information
PLAYBACK_DB_PASSWORDLive DB information
MINIO_URLStorage host
MINIO_BUCKETbackupStorage bucket name
RTUS_DOMAINRTUS service domain
SCHEDULE_JOB_DOMAINschedulejob service domain
DEFAULT_REPLAY_DURATION2hdefault replay duration
DB_SNAPSHOT_RETENTION_IN_DAY"7"retention dump object
VALID_MIN_REPLAY_SPEED"0.5"min speed in playback session
VALID_MAX_REPLAY_SPEED"5"max speed in playback session
REPLAY_INTERVAL_IN_SECOND"10s"replay interval update
SYSTEM_SCHEMA_NAME"aoh_sys"system schema include system time table
SQL_STMT_BATCH_SIZE"1000"batch size to execute SQL statement during init and play session

ReplayMgr configuration

NameExampleDescription
MIGRATION_URLfile://migrationsdirectory to migration files
REPLAY_MGR_RTUS_TOPICrnrrtus topic to update SSE
REPLAY_MGR_NATS_CONSUMERReplayMgrConsumerconsumer name
REPLAY_MGR_APP_PORT"5050"app port
REPLAY_MGR_LOG_LEVEL"trace"app log level
REPLAY_MGR_VERSION"1.4.0"app version

MsgOp configuration

NameExampleDescription
MSGOP_APP_PORT"5060"app port
MSGOP_LOG_LEVEL"trace"app log level
MSGOP_VERSION"1.4.0"app version
MSGOP_NATS_CONSUMERMsgOpConsumerconsumer name

DBOP configuration

NameExampleDescription
DBOP_APP_PORT"5080"app port
DBOP_LOG_LEVEL"trace"app log level
DBOP_VERSION"1.4.0"app version
DBOP_NATS_CONSUMERDbOpConsumerconsumer name