zjcnb opened a new issue #14183:
URL: https://github.com/apache/shardingsphere/issues/14183


   ### Which version of ShardingSphere did you use?
   
   `master`
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   `ShardingSphere-JDBC`
   
   ### Expected behavior
   
   Load spi successful.
   
   ### Actual behavior
   
   Load spi faild.
   
   ### Load successful configuration.
   
   
   ```
    <database-discovery:discovery-type id="mgr" type="MGR">
           <props>
               <prop 
key="group-name">92504d5b-6dec-11e8-91ea-246e9612aaf1</prop>
           </props>
       </database-discovery:discovery-type>
   
       <database-discovery:rule id="discoveryRule">
           <database-discovery:data-source-rule id="pr_ds" 
data-source-names="ds0" discovery-heartbeat-name="mgr-heartbeat" 
discovery-type-name="mgr"/>
           <database-discovery:discovery-heartbeat id="mgr-heartbeat">
               <props>
                   <prop key="keep-alive-cron">'0/5 * * * * ?'</prop>
               </props>
           </database-discovery:discovery-heartbeat>
       </database-discovery:rule>
   ```
   
   ### Load faild configuration.
   
   ```
       <database-discovery:rule id="discoveryRule">
           <database-discovery:data-source-rule id="pr_ds" 
data-source-names="ds0" discovery-heartbeat-name="mgr-heartbeat" 
discovery-type-name="mgr"/>
           <database-discovery:discovery-heartbeat id="mgr-heartbeat">
               <props>
                   <prop key="keep-alive-cron">'0/5 * * * * ?'</prop>
               </props>
           </database-discovery:discovery-heartbeat>
       </database-discovery:rule>
   
       <database-discovery:discovery-type id="mgr" type="MGR">
           <props>
               <prop 
key="group-name">92504d5b-6dec-11e8-91ea-246e9612aaf1</prop>
           </props>
       </database-discovery:discovery-type>
   ```
   


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