Logo
Shadow database

Shadow database #

Configuration Description #

rules:
- !SHADOW
  dataSources:
    shadowDataSource:
      sourceDataSourceName: # Production data source name
      shadowDataSourceName: # Shadow data source name 
  tables:
    <table-name>:
      dataSourceNames: # Shadow table associated shadow data source name list
        - <shadow-data-source> 
      shadowAlgorithmNames: # Shadow table associated shadow algorithm name list
        - <shadow-algorithm-name>
  defaultShadowAlgorithmName: # Default shadow algorithm name
  shadowAlgorithms:
    <shadow-algorithm-name> (+): # Shadow algorithm name
      type: # Shadow algorithm type
      props: # Shadow algorithm properties configuration
        # ...