You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/05/07 03:07:16 UTC
[GitHub] [shardingsphere] taojintianxia opened a new issue, #17407: update the config segment in shadow document as the same style in the config in proxy distribution
taojintianxia opened a new issue, #17407:
URL: https://github.com/apache/shardingsphere/issues/17407
in the [shadow document](https://shardingsphere.apache.org/document/current/cn/reference/shadow/), as we can see the style of the config is like following :
```yaml
data-sources:
shadow-data-source:
source-data-source-name: ds
shadow-data-source-name: ds-shadow
tables:
t_order:
data-source-names: shadow-data-source
shadow-algorithm-names:
- simple-hint-algorithm
- user-id-value-match-algorithm
shadow-algorithms:
simple-hint-algorithm:
type: SIMPLE_HINT
props:
foo: bar
user-id-value-match-algorithm:
type: VALUE_MATCH
props:
operation: insert
column: user_id
value: 0
sql-parser:
sql-comment-parse-enabled: true
```
and the config for shadow in proxy distribution is like following style :
```yaml
databaseName: shadow_db
dataSources:
ds:
url: jdbc:mysql://127.0.0.1:3306/demo_ds_0?serverTimezone=UTC&useSSL=false
username: root
password:
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 50
minPoolSize: 1
shadow_ds:
url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false
username: root
password:
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 50
minPoolSize: 1
rules:
- !SHADOW
dataSources:
shadowDataSource:
sourceDataSourceName: ds
shadowDataSourceName: shadow_ds
```
the sourceDataSourceName and shadowDataSourceName naming style are totally different. will update the config in document.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] tristaZero closed issue #17407: update the config segment in shadow document as the same style in the config in proxy distribution
Posted by GitBox <gi...@apache.org>.
tristaZero closed issue #17407: update the config segment in shadow document as the same style in the config in proxy distribution
URL: https://github.com/apache/shardingsphere/issues/17407
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] taojintianxia commented on issue #17407: update the config segment in shadow document as the same style in the config in proxy distribution
Posted by GitBox <gi...@apache.org>.
taojintianxia commented on issue #17407:
URL: https://github.com/apache/shardingsphere/issues/17407#issuecomment-1120120634
please assign this to me
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org