You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by "super-henry-bai (via GitHub)" <gi...@apache.org> on 2025/01/17 01:38:46 UTC
[I] Divide plugin Discovery Config, nacos service cannot be written in non default namespaces [shenyu]
super-henry-bai opened a new issue, #5899:
URL: https://github.com/apache/shenyu/issues/5899
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Current Behavior
The Discovery Config feature of the Divde plugin cannot be written to Discovery Upstream when using nacos as the registry in a non default namespace.
The possible reason is that NacosDiscoveryService did not provide a namespaceId that can be passed in.

Can the filtering in DiscoveryDataChangedEdSyncListener be removed.

### Expected Behavior
_No response_
### Steps To Reproduce
Use Discovery Config in a non default namespace, with the type selected as nacos
### Environment
```markdown
ShenYu version(s):2.7.0
```
### Debug logs
_No response_
### Anything else?
_No response_
--
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@shenyu.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Divide plugin Discovery Config, nacos service cannot be written in non default namespaces [shenyu]
Posted by "Aias00 (via GitHub)" <gi...@apache.org>.
Aias00 closed issue #5899: Divide plugin Discovery Config, nacos service cannot be written in non default namespaces
URL: https://github.com/apache/shenyu/issues/5899
--
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@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Divide plugin Discovery Config, nacos service cannot be written in non default namespaces [shenyu]
Posted by "super-henry-bai (via GitHub)" <gi...@apache.org>.
super-henry-bai commented on issue #5899:
URL: https://github.com/apache/shenyu/issues/5899#issuecomment-2639036073
Yes, I understand what you mean. But if a new shenyu namespace is added, the NamepaceId in DiscoveryUpstreamData will always be empty, so the value of the NamepaceId will always be SYS_DEFAULTRAL_NAMPACEID
--
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@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Divide plugin Discovery Config, nacos service cannot be written in non default namespaces [shenyu]
Posted by "Aias00 (via GitHub)" <gi...@apache.org>.
Aias00 commented on issue #5899:
URL: https://github.com/apache/shenyu/issues/5899#issuecomment-2601502395
hi, the namespaceId in filter, is not the nacos namespace。 it is shenyu`s new feature. the Discovery data should has it`s shenyu namepapceId. if not, will use default namespaceId, which is : org.apache.shenyu.common.constant.Constants#SYS_DEFAULT_NAMESPACE_ID
--
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@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Divide plugin Discovery Config, nacos service cannot be written in non default namespaces [shenyu]
Posted by "Aias00 (via GitHub)" <gi...@apache.org>.
Aias00 commented on issue #5899:
URL: https://github.com/apache/shenyu/issues/5899#issuecomment-2639048501
> DiscoveryUpstreamData
hi, DiscoveryUpstreamData should be reported by clients, the clients should change their properties to choose the namespace they want to register. it is this what you mean ?
--
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@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org