Shadow DB

Configuration Item Explanation

  1. rules:
  2. - !SHADOW
  3. dataSources:
  4. shadowDataSource:
  5. sourceDataSourceName: # Production data source name
  6. shadowDataSourceName: # Shadow data source name
  7. tables:
  8. <table-name>:
  9. dataSourceNames: # Shadow table location shadow data source names
  10. - <shadow-data-source>
  11. shadowAlgorithmNames: # Shadow table location shadow algorithm names
  12. - <shadow-algorithm-name>
  13. defaultShadowAlgorithmName: # Default shadow algorithm name
  14. shadowAlgorithms:
  15. <shadow-algorithm-name> (+): # Shadow algorithm name
  16. type: # Shadow algorithm type
  17. props: # Shadow algorithm property configuration
  18. # ...