roodkcab opened a new issue, #14472:
URL: https://github.com/apache/shardingsphere/issues/14472

   ## Feature Request
   
   ### Describe the feature you would like.
   read write split datasource can be routed through hint. but it'll be more 
convenient to use username or connection host to set hint automatically.
   
   example:
   when user name is `db_writeonly`, session could set writeonly hint 
automatically;
   
   or we can add a new property `writeOnlyHost` to read write split 
configuration, if user connect to database use `writeOnlyHost` then set 
writeonly hint automatically on that session. (it may difficult to get 
connection host, since host is always converted to IP address before connect to 
database. however, if user connect to database use lo network, we can 
distinguish different host ip, like 127.0.0.1, 127.0.0.2, and etc)
   


-- 
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