Skip to main content
Version: 2.2.0

RnR Playback namespace configuration

info

Since version 2.2.0, we renamed the LIVE_DB config to RNR_DB config in ReplayMgr and DbOp module. The RnR database is preferred to put in the same database with the transform message database.

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
RNR_DB_HOSTlocalhostRNR DB information
RNR_DB_PORT5432RNR DB information
RNR_DB_DATABASEpostgresRNR DB information
RNR_DB_USERpostgresRNR DB information
RNR_DB_PASSWORDRNR DB information
RNR_DB_SSL_MODEdisableRNR 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
LIST_LIVE_DB_NAMEaoh_sys,gislist of live database name that need to be replayed
  • DBOP module has a new config LIST_LIVE_DB_NAME to support multiple live databases, that a list of live database name separated by comma , character.