Skip to main content
Version: 2.2.0

Recording namespace configuration

info

Since version 2.2.0, we renamed the LIVE_DB config to RNR_DB config in ScheduleJob 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_DEBEZIUM_STREAMDebeziumStreamStream name for CDC live database
NATS_DEBEZIUM_SUBJECTaoh.live.postgres.*Stream subject for CDC live database
NATS_RTUS_STREAMDebeziumStreamStream name for CDC rtus database
NATS_RTUS_SUBJECTaoh.rtus.postgres.*Stream subject for CDC rtus database
NATS_TRANSFORM_MSG_CONSUMERtransformmsg_live_consumerTransformMsg module consumer name for live database
NATS_TRANSFORM_MSG_RTUS_CONSUMERtransformmsg_rtus_consumerTransformMsg module consumer name for rtus database
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
TRANSFORM_MESSAGE_DB_SSL_MODEdisableTransform 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
MINIO_URLStorage host
MINIO_BUCKETbackupStorage bucket name
RTUS_DOMAINRTUS service domain

ScheduleJob module configuration

NameExampleDescription
SCHEDULEJOB_DATA_RETENTION_DAYSData retention in days
SCHEDULEJOB_VERSION"0.0.1"app version
SCHEDULEJOB_APP_PORT"5090"app port
SCHEDULEJOB_LOG_LEVEL"trace"log level
SCHEDULEJOB_DB_SCHEMArnrschedule job database schema
LIVE_DB_CONFIG_PATH./live_db_config.jsonlive db config path
  • ScheduleJob module has a new config LIVE_DB_CONFIG_PATH to support multiple live databases, that is a json file directory that contains the live databases information.

TransformMsg module configuration

NameExampleDescription
TRANSFORM_MSG_VERSION"0.0.1"app version
TRANSFORM_MSG_APP_PORT"5080"app port
TRANSFORM_MSG_LOG_LEVEL"trace"log level

Timekeeper module configuration

NameExampleDescription
TIMEKEEPER_SOURCE_VALUEaoh-syssource value manage system time
TIMEKEEPER_DB_SCHEMAaoh_systimekeeper database schema
TIMEKEEPER_RTUS_TOPICsystem-timertus topic for SSE

Debezium configuration

NameExampleDescription
DEBEZIUM_SOURCE_SLOT_NAMErecording_connectorunique replication slot name in database
DEBEZIUM_TOPIC_PREFIXaoh.live.postgrestopic prefix send CDC event
DEBEZIUM_SUBJECTSaoh.live.postgres..subject is formed from the name of the database and the name of the table in which the change was made
DEBEZIUM_TABLE_LISTaoh_sys.time, public.tablelist table need to be captured