--- Title: redis-di scaffold aliases: null alwaysopen: false categories: - docs - integrate - rs - rdi description: Generates configuration files for Write-behind and Debezium (when ingesting data to Redis) group: di linkTitle: redis-di scaffold summary: Redis Data Integration keeps Redis in sync with the primary database in near real time. type: integration weight: 10 --- ## Usage ``` Usage: redis-di scaffold [OPTIONS] ``` ## Options - `loglevel`: - Type: Choice(['DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL']) - Default: `info` - Usage: `--loglevel -log-level` - `db_type` (REQUIRED): - Type: Choice([, , , , ]) - Default: `none` - Usage: `--db-type` DB type - `strategy`: - Type: Choice([, ]) - Default: `ingest` - Usage: `--strategy` Strategy Output to directory or stdout - `directory`: - Type: STRING - Default: `none` - Usage: `--dir` Directory containing Write-behind configuration - `preview`: - Type: Choice(['debezium/application.properties', 'config.yaml']) - Default: `none` - Usage: `--preview` Print the content of specified config file to CLI output - `help`: - Type: BOOL - Default: `false` - Usage: `--help` Show this message and exit. ## CLI help ``` Usage: redis-di scaffold [OPTIONS] Generates configuration files for Write-behind and Debezium (when ingesting data to Redis) Options: -log-level, --loglevel [DEBUG|INFO|WARN|ERROR|CRITICAL] [default: INFO] --db-type [mysql|oracle|postgresql|redis|sqlserver] DB type [required] --strategy [ingest|write_behind] Strategy [default: ingest] Output formats: [mutually_exclusive, required] Output to directory or stdout --dir TEXT Directory containing Write-behind configuration --preview [debezium/application.properties|config.yaml] Print the content of specified config file to CLI output --help Show this message and exit. ```