You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "daiyueyu (via GitHub)" <gi...@apache.org> on 2025/05/28 09:44:06 UTC
[I] Hot Update Encryption Rule Configuration [shardingsphere]
daiyueyu opened a new issue, #35544:
URL: https://github.com/apache/shardingsphere/issues/35544
How can I perform a hot update of the encryption rule configuration after the service has started?
`@Bean
public DataSource dataSource() throws SQLException {
HikariDataSource dataSource = getHikariDataSource();
Properties props = new Properties();
props.setProperty("sql-show", "true");
EncryptTableRuleConfiguration tableConfig = getEncryptTableRuleConfiguration();
EncryptRuleConfiguration encryptRuleConfig = getEncryptRuleConfiguration(tableConfig);
return ShardingSphereDataSourceFactory.createDataSource(dataSource, Arrays.asList(encryptRuleConfig), props);
}
`
Here are the dependencies from my Maven project's pom.xml.
`<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>shardingsphere-jdbc-core</artifactId>
<version>5.2.0</version>
</dependency>`
--
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
Re: [I] Hot Update Encryption Rule Configuration [shardingsphere]
Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu closed issue #35544: Hot Update Encryption Rule Configuration
URL: https://github.com/apache/shardingsphere/issues/35544
--
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
Re: [I] Hot Update Encryption Rule Configuration [shardingsphere]
Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu commented on issue #35544:
URL: https://github.com/apache/shardingsphere/issues/35544#issuecomment-2945224829
Please use DistSQL
--
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