You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "fantiq (via GitHub)" <gi...@apache.org> on 2025/06/11 06:37:11 UTC
[PR] fix(stub): add default protocol and add onconnect example [dubbo-samples]
fantiq opened a new pull request, #1219:
URL: https://github.com/apache/dubbo-samples/pull/1219
related issue apache/dubbo#15446
add the `onconnect` example and add the config item `dubbo.consumer.protocol=dubbo`.
otherwise, an error `No such extension org.apache.dubbo.rpc.Protocol by name consumer` will be reported.
--
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: [PR] fix(stub): add default protocol and add onconnect example [dubbo-samples]
Posted by "zrlw (via GitHub)" <gi...@apache.org>.
zrlw commented on PR #1219:
URL: https://github.com/apache/dubbo-samples/pull/1219#issuecomment-2966948793
>
> you should restart the provider. because the consumer create connection is async.
got it.

--
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: [PR] fix(stub): add default protocol and add onconnect example [dubbo-samples]
Posted by "zrlw (via GitHub)" <gi...@apache.org>.
zrlw commented on PR #1219:
URL: https://github.com/apache/dubbo-samples/pull/1219#issuecomment-2965373113
i see, you mean a stub service error message with ```No such extension org.apache.dubbo.rpc.Protocol by name consumer``` will be logged if not set dubbo.consumer.protocol at application yml.
--
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: [PR] fix(stub): add default protocol and add onconnect example [dubbo-samples]
Posted by "zrlw (via GitHub)" <gi...@apache.org>.
zrlw commented on PR #1219:
URL: https://github.com/apache/dubbo-samples/pull/1219#issuecomment-2965390679
but i don't get the message ```A new connection has been created``` no matter set dubbo.consumer.protocol or not.


--
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: [PR] fix(stub): add default protocol and add onconnect example [dubbo-samples]
Posted by "zrlw (via GitHub)" <gi...@apache.org>.
zrlw commented on PR #1219:
URL: https://github.com/apache/dubbo-samples/pull/1219#issuecomment-2965327281
you might modify ConsumerIT instead of StubConsumer since only ```**IT.class``` will be tested, see details at ```test``` of case-configuration.yml, by the way, i don't reproduce your issue,
1. start zookeeper.
2. start org.apache.dubbo.samples.stub.provider.StubProvider.
3. start StubConsumer that has been applied with what your modified.

--
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: [PR] fix(stub): add default protocol and add onconnect example [dubbo-samples]
Posted by "zrlw (via GitHub)" <gi...@apache.org>.
zrlw commented on PR #1219:
URL: https://github.com/apache/dubbo-samples/pull/1219#issuecomment-2966990673
you'd better update README.md and README_ZH.md to explain how to reproduce the issue and why adding the config item dubbo.consumer.protocol=dubbo could fix it.
--
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: [PR] fix(stub): add default protocol and add onconnect example [dubbo-samples]
Posted by "zrlw (via GitHub)" <gi...@apache.org>.
zrlw commented on PR #1219:
URL: https://github.com/apache/dubbo-samples/pull/1219#issuecomment-2965460746

--
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: [PR] fix(stub): add default protocol and add onconnect example [dubbo-samples]
Posted by "fantiq (via GitHub)" <gi...@apache.org>.
fantiq commented on PR #1219:
URL: https://github.com/apache/dubbo-samples/pull/1219#issuecomment-2974782174
> you'd better update README.md and README_ZH.md to explain how to reproduce the issue and why adding the config item dubbo.consumer.protocol=dubbo could fix it.
@zrlw hi, i add the explain to `README.md`, PTAL.
--
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: [PR] fix(stub): add default protocol and add onconnect example [dubbo-samples]
Posted by "zrlw (via GitHub)" <gi...@apache.org>.
zrlw merged PR #1219:
URL: https://github.com/apache/dubbo-samples/pull/1219
--
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: [PR] fix(stub): add default protocol and add onconnect example [dubbo-samples]
Posted by "fantiq (via GitHub)" <gi...@apache.org>.
fantiq commented on PR #1219:
URL: https://github.com/apache/dubbo-samples/pull/1219#issuecomment-2966010129
> but i don't get the message `A new connection has been created` no matter set dubbo.consumer.protocol or not.  
you should restart the provider. because the consumer create connection is async.
--
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