ZhaoNiuniu opened a new pull request, #8424:
URL: https://github.com/apache/inlong/pull/8424

   ### Prepare a Pull Request
   *(Change the title refer to the following example)*
   
   - [INLONG-8405][Manager] Dynamically configure ClickHouse source 
   
   - Fixes #8405 
   
   ### Motivation
   
   * Originally, the decision of which ClickHouse cluster to read audit data 
from was based on the configuration file. However, the configuration file was 
loaded when the manager service started, so if we wanted to change the 
ClickHouse source, we had to restart the manager.
   ### Modifications
   
   I use a database table named "audit_query_source_config" to store the 
ClickHouse sources. APIs are implemented for inserting and updating operations. 
Users can specify which ClickHouse source to use through the APIs. Therefore, 
each time when querying audit data, the ClickHouse source that we specified 
will be used.
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to