isHuangXin commented on issue #24869:
URL: 
https://github.com/apache/shardingsphere/issues/24869#issuecomment-1486880058

   - ShardingRule error means to configure config-sharding.yaml?
   
   `[ERROR] 2023-03-28 20:35:07.754 [nioEventLoopGroup-4-1] 
o.a.s.p.f.n.CDCChannelInboundHandler - caught CDC resolution error
   java.lang.IllegalStateException: Rule `ShardingRule` should have and only 
have one instance.
        at 
com.google.common.base.Preconditions.checkState(Preconditions.java:589)
        at 
org.apache.shardingsphere.infra.metadata.database.rule.ShardingSphereRuleMetaData.getSingleRule(ShardingSphereRuleMetaData.java:91)
        at 
org.apache.shardingsphere.proxy.backend.handler.cdc.CDCBackendHandler.streamData(CDCBackendHandler.java:105)
        at 
org.apache.shardingsphere.proxy.frontend.netty.CDCChannelInboundHandler.processStreamDataRequest(CDCChannelInboundHandler.java:181)
        at 
org.apache.shardingsphere.proxy.frontend.netty.CDCChannelInboundHandler.channelRead(CDCChannelInboundHandler.java:120)`
        
        
   ![Screenshot 2023-03-28 at 20 44 
49](https://user-images.githubusercontent.com/57054352/228240184-a4faf1f9-5330-4af8-8b1a-da5638ddd779.png)
   
   ![Screenshot 2023-03-28 at 20 50 57 
1](https://user-images.githubusercontent.com/57054352/228241877-3eef175a-965e-4bbe-a1bf-6845a6d880bf.png)
   
   


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