You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "songxiaosheng (via GitHub)" <gi...@apache.org> on 2025/01/14 10:19:20 UTC

[I] [Feature] add spring cloud spi [dubbo]

songxiaosheng opened a new issue, #15059:
URL: https://github.com/apache/dubbo/issues/15059

   ### Pre-check
   
   - [x] I am sure that all the content I provide is in English.
   
   
   ### Search before asking
   
   - [x] I had searched in the [issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found no similar feature requirement.
   
   
   ### Apache Dubbo Component
   
   Java SDK (apache/dubbo)
   
   ### Descriptions
   
   
   use delete file from this pr
   https://github.com/apache/dubbo/pull/14450/files
   
   
   ### Related issues
   
   resolve: https://github.com/apache/dubbo/issues/15013
   
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [ ] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Feature] add spring cloud spi [dubbo]

Posted by "yechao4j (via GitHub)" <gi...@apache.org>.
yechao4j commented on issue #15059:
URL: https://github.com/apache/dubbo/issues/15059#issuecomment-2652846276

   @heliang666s  hi,哥们,这个问题你修复好了,dubbo-samples-springcloud没有更新吗?dubbo3.3.3如何使用你提交的dubbo-service-discovery-springcloud?


-- 
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@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Feature] add spring cloud spi [dubbo]

Posted by "songxiaosheng (via GitHub)" <gi...@apache.org>.
songxiaosheng closed issue #15059: [Feature] add spring cloud spi
URL: https://github.com/apache/dubbo/issues/15059


-- 
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@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Feature] add spring cloud spi [dubbo]

Posted by "songxiaosheng (via GitHub)" <gi...@apache.org>.
songxiaosheng commented on issue #15059:
URL: https://github.com/apache/dubbo/issues/15059#issuecomment-2656479340

   > [@heliang666s](https://github.com/heliang666s) [@songxiaosheng](https://github.com/songxiaosheng) hi,哥们,这个问题你修复好了,dubbo-samples-springcloud没有更新吗?dubbo3.3.3如何使用你提交的dubbo-service-discovery-springcloud?
   If you want to use it later, you can introduce the following extensions for compatibility. It seems that the latest version is not available yet. You can temporarily package it locally.
   
   ````xml
   <artifactId>dubbo-service-discovery-extensions</artifactId>
           <groupId>org.apache.dubbo.extensions</groupId>
           <version>${revision}</version>
   ```


-- 
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@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Feature] add spring cloud spi [dubbo]

Posted by "yechao4j (via GitHub)" <gi...@apache.org>.
yechao4j commented on issue #15059:
URL: https://github.com/apache/dubbo/issues/15059#issuecomment-2658124864

   我把dubbo-service-discovery-extensions代码拷到本地了,运行后还是报错,有两个问题:
   1.
   `java.lang.IllegalStateException: Unsupported protocol rest in notified url: DefaultServiceInstance{serviceName='spring-cloud-provider-for-dubbo', host='172.20.160.102', port=8099, enabled=true, healthy=true, metadata={preserved.register.source=SPRING_CLOUD, IPv6=[2013:208:208:30:fcac:6456:35b8:5fc0]}}, null from registry 172.20.144.65:7788 to consumer 172.20.160.102, supported protocol: [dubbo, grpc, injvm, mock, registry, rest2, service-discovery-registry, tri]`
   SpringCloudServiceInstanceNotificationCustomizer里的protocol=rest不行,要改成rest2
   
   2.改成rest2后,继续报错:
   `java.lang.NullPointerException: Cannot invoke "java.util.concurrent.atomic.AtomicReference.get()" because "this.channelRef" is null
   at org.apache.dubbo.remoting.transport.netty4.AbstractNettyConnectionClient.getNettyChannel(AbstractNettyConnectionClient.java:259) ~[dubbo-3.3.3.jar:3.3.3]
   at org.apache.dubbo.remoting.transport.netty4.AbstractNettyConnectionClient.getChannel(AbstractNettyConnectionClient.java:251) ~[dubbo-3.3.3.jar:3.3.3]
   at org.apache.dubbo.remoting.transport.AbstractClient.disconnect(AbstractClient.java:306) ~[dubbo-3.3.3.jar:3.3.3]
   at org.apache.dubbo.remoting.transport.AbstractClient.close(AbstractClient.java:386) ~[dubbo-3.3.3.jar:3.3.3]
   at org.apache.dubbo.remoting.transport.AbstractClient.<init>(AbstractClient.java:82) ~[dubbo-3.3.3.jar:3.3.3]
   at org.apache.dubbo.remoting.api.connection.AbstractConnectionClient.<init>(AbstractConnectionClient.java:47) ~[dubbo-3.3.3.jar:3.3.3]
   at org.apache.dubbo.remoting.transport.netty4.AbstractNettyConnectionClient.<init>(AbstractNettyConnectionClient.java:63) ~[dubbo-3.3.3.jar:3.3.3]
   at org.apache.dubbo.remoting.transport.netty4.NettyConnectionClient.<init>(NettyConnectionClient.java:46) ~[dubbo-3.3.3.jar:3.3.3]
   at org.apache.dubbo.remoting.transport.netty4.NettyConnectionManager.connect(NettyConnectionManager.java:33) ~[dubbo-3.3.3.jar:3.3.3]
   at org.apache.dubbo.remoting.api.connection.SingleProtocolConnectionManager.createAbstractConnectionClient(SingleProtocolConnectionManager.java:68) ~[dubbo-3.3.3.jar:3.3.3]
   at org.apache.dubbo.remoting.api.connection.SingleProtocolConnectionManager.lambda$connect$0(SingleProtocolConnectionManager.java:52) ~[dubbo-3.3.3.jar:3.3.3]
   at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916) ~[?:?]
   at org.apache.dubbo.remoting.api.connection.SingleProtocolConnectionManager.connect(SingleProtocolConnectionManager.java:49) ~[dubbo-3.3.3.jar:3.3.3]
   at org.apache.dubbo.remoting.api.connection.MultiplexProtocolConnectionManager.connect(MultiplexProtocolConnectionManager.java:43) ~[dubbo-3.3.3.jar:3.3.3]
   at org.apache.dubbo.remoting.transport.netty4.NettyPortUnificationTransporter.connect(NettyPortUnificationTransporter.java:42) ~[dubbo-3.3.3.jar:3.3.3]
   at org.apache.dubbo.remoting.api.pu.PortUnificationTransporter$Adaptive.connect(PortUnificationTransporter$Adaptive.java) ~[dubbo-3.3.3.jar:3.3.3]
   at org.apache.dubbo.remoting.exchange.PortUnificationExchanger.connect(PortUnificationExchanger.java:64) ~[dubbo-3.3.3.jar:3.3.3]
   at org.apache.dubbo.rpc.protocol.tri.TripleProtocol.refer(TripleProtocol.java:190) ~[dubbo-3.3.3.jar:3.3.3]
   at org.apache.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:85) ~[dubbo-3.3.3.jar:3.3.3]
   at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:86) ~[dubbo-3.3.3.jar:3.3.3]
   at org.apache.dubbo.rpc.protocol.ProtocolSecurityWrapper.refer(ProtocolSecurityWrapper.java:112) ~[dubbo-3.3.3`
   
   Please Help~~~


-- 
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@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Feature] add spring cloud spi [dubbo]

Posted by "heliang666s (via GitHub)" <gi...@apache.org>.
heliang666s commented on issue #15059:
URL: https://github.com/apache/dubbo/issues/15059#issuecomment-2603938541

   close as completed.


-- 
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@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Feature] add spring cloud spi [dubbo]

Posted by "heliang666s (via GitHub)" <gi...@apache.org>.
heliang666s commented on issue #15059:
URL: https://github.com/apache/dubbo/issues/15059#issuecomment-2592442395

   I want to solve it.Please assign me ~


-- 
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@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Feature] add spring cloud spi [dubbo]

Posted by "songxiaosheng (via GitHub)" <gi...@apache.org>.
songxiaosheng commented on issue #15059:
URL: https://github.com/apache/dubbo/issues/15059#issuecomment-2614224366

   done


-- 
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@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org