redis-di 脚手架

生成用于Write-behind和Debezium的配置文件(当将数据摄取到Redis时)

用法

Usage: redis-di scaffold [OPTIONS]

选项

  • loglevel:

    • 类型: Choice(['DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL'])
    • 默认值: info
    • 用法: --loglevel -log-level
  • db_type (必填):

    • 类型: Choice([, , , , ])
    • 默认值: none
    • 用法: --db-type

    数据库类型

  • strategy:

    • 类型: Choice([, ])
    • 默认值: ingest
    • 用法: --strategy

    策略

    输出到目录或标准输出

  • directory:

    • 类型: 字符串
    • 默认值: none
    • 用法: --dir

    包含写后配置的目录

  • preview:

    • 类型: Choice(['debezium/application.properties', 'config.yaml'])
    • 默认值: none
    • 用法: --preview

    将指定配置文件的内容打印到CLI输出

  • help:

    • 类型: BOOL
    • 默认值: false
    • 用法: --help

    显示此消息并退出。

CLI 帮助

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.
RATE THIS PAGE
Back to top ↑