[PR] Move Mesh Rule Router to SPI Extensions [dubbo-spi-extensions]
heliang666s opened a new pull request, #307: URL: https://github.com/apache/dubbo-spi-extensions/pull/307 ## What is the purpose of the change * Move Mesh Rule Router to SPI Extensions #13957 ## Brief changelog * Just copy all the related files to apache/dubbo-spi-extensions repo. ## Verifying this change X Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Make sure there is a [GITHUB_issue](https://github.com/apache/dubbo/issues) field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue. - [ ] Format the pull request title like `[Dubbo-XXX] Fix UnknownException when host config not exist #XXX`. Each commit in the pull request should have a meaningful subject line and body. - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in [dubbo samples](https://github.com/apache/dubbo-samples) project. - [ ] Run `mvn clean install -DskipTests=false` & `mvn clean test-compile failsafe:integration-test` to make sure unit-test and integration-test pass. - [ ] If this contribution is large, please follow the [Software Donation Guide](https://github.com/apache/dubbo/wiki/Software-donation-guide). -- 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-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
[PR] HTTP/3 support for dubbo triple [dubbo]
oxsean opened a new pull request, #14033: URL: https://github.com/apache/dubbo/pull/14033 ## Background Apache Dubbo is a high-performance RPC framework dedicated to providing excellent service governance capabilities. With the introduction of HTTP/3, its features based on the QUIC protocol offer new possibilities for Dubbo microservices communication. HTTP/3, by reducing latency, increasing transmission speed, enhancing security, improving packet loss resistance, and supporting 0-RTT connections, provides significant performance and reliability improvements for Dubbo in cloud-native environments for microservices communication. ## Technical Solution Summary This proposal aims to integrate HTTP/3 into Apache Dubbo, supporting all core capabilities defined by the Triple protocol specification on HTTP/3. The construction of capabilities will revolve around the following core parts: 1. **Remoting Protocol Adaptation**: Develop a new remoting module based on netty-incubator-codec-http3, and modify dubbo-rpc-triple to make the existing triple's dependency on remoting compatible with HTTP/3. It also needs to include support for Alt-Svc defined in RFC7838 to implement bootstrapping. 2. **RPC Protocol Adaptation**: The adaptation of the RPC part includes both client and server. For the server, it mainly needs to support the initialization of HTTP/3 UDP Server, INPUT/OUTPUT adaptation, and the modification of TransportListener to support HTTP/3. The client part is mainly about supporting making call requests through HTTP/3, considering HTTP version negotiation, using HTTP/2 for servers that do not support HTTP/3, otherwise upgrading to HTTP/3. 3. **HTTP/3 Core Capabilities Support**: Based on the features of HTTP/3, support backpressure and flow control, support setting and optimizing congestion control algorithms, support frame prioritization. 4. **Performance Testing**: Conduct comprehensive performance testing, including comparison with HTTP/2 implementation and the original Dubbo protocol performance. The test report will cover key indicators such as machine load, response time, throughput under specific concurrency, latency, packet loss rate, and packet damage rate. ## Checklist - [x] Make sure there is a [GitHub_issue](https://github.com/apache/dubbo/issues) field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue. - [ ] Each commit in the pull request should have a meaningful subject line and body. - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7 - [ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in [dubbo samples](https://github.com/apache/dubbo-samples) project. - [ ] Add some description to [dubbo-website](https://github.com/apache/dubbo-website) project if you are requesting to add a feature. - [ ] GitHub Actions works fine on your own branch. - [ ] If this contribution is large, please follow the [Software Donation Guide](https://github.com/apache/dubbo/wiki/Software-donation-guide). -- 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-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
[PR] Feat fixbug [dubbo-kubernetes]
sjmshsh opened a new pull request, #256: URL: https://github.com/apache/dubbo-kubernetes/pull/256 ## What is the purpose of the change ## Brief changelog ## Verifying this change ## CheckList - [x] Make sure there is a [GitHub_issue](https://github.com/apache/dubbo-kubernetes/issues) field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue. - [ ] Each commit in the pull request should have a meaningful subject line and body. - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. - [ ] GitHub Actions works fine on your own branch. - [ ] If this contribution is large, please follow the [Software Donation Guide](https://github.com/apache/dubbo/wiki/Software-donation-guide). -- 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-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
[PR] Feature/竞赛/跨集群“第一页第六页第七页序”参赛文档 [dubbo-kubernetes]
yin1999 opened a new pull request, #255: URL: https://github.com/apache/dubbo-kubernetes/pull/255 Related issue: #150 赛题:一种跨集群Kubernetes、传统VM微服务集群的互通方案与实 设计文档:https://www.yuque.com/yin1999/mkb0r3/zu48dxkw9kw2gvh0 参赛队伍:第一页第六页第七页序 提交人:殷燚涛 -- 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-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
[PR] Feature/竞赛/跨集群 [dubbo-kubernetes]
sjmshsh opened a new pull request, #254: URL: https://github.com/apache/dubbo-kubernetes/pull/254 refer to https://github.com/apache/dubbo-kubernetes/issues/150 赛题:一种跨集群Kubernetes、传统VM微服务集群的互通方案与实现 设计文档:https://www.yuque.com/jiuan-c16st/ofzcvf/vownxi5dy4nzvmm5 -- 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-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
Re: [PR] fix dds [dubbo-kubernetes]
sjmshsh closed pull request #250: fix dds URL: https://github.com/apache/dubbo-kubernetes/pull/250 -- 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-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
[PR] Feature/竞赛/跨集群 [dubbo-kubernetes]
dawnzzz opened a new pull request, #253: URL: https://github.com/apache/dubbo-kubernetes/pull/253 refer to https://github.com/apache/dubbo-kubernetes/issues/150 赛题:一种跨集群Kubernetes、传统VM微服务集群的互通方案与实现 设计文档:https://www.yuque.com/g/dawnzzz-ey7kx/gyte8i/sf7p3iixdr05ps8k/collaborator/join?token=PRT9fc5HYJNJMYFB=doc_collaborator -- 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-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
Re: [PR] Feat security [dubbo-go]
sonarcloud[bot] commented on PR #2643: URL: https://github.com/apache/dubbo-go/pull/2643#issuecomment-2039745479 ## [![Quality Gate Failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-failed-20px.png 'Quality Gate Failed')](https://sonarcloud.io/dashboard?id=apache_dubbo-go=2643) **Quality Gate failed** Failed conditions ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/failed-16px.png '') [C Security Rating on New Code](https://sonarcloud.io/dashboard?id=apache_dubbo-go=2643) (required ≥ A) [See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_dubbo-go=2643) ## ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/light_bulb-16px.png '') Catch issues before they fail your Quality Gate with our IDE extension ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/sonarlint-16px.png '') [SonarLint](https://www.sonarsource.com/products/sonarlint/features/connected-mode/?referrer=pull-request) -- 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-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
Re: [PR] Feat security [dubbo-go]
sonarcloud[bot] commented on PR #2643: URL: https://github.com/apache/dubbo-go/pull/2643#issuecomment-2039705900 ## [![Quality Gate Failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-failed-20px.png 'Quality Gate Failed')](https://sonarcloud.io/dashboard?id=apache_dubbo-go=2643) **Quality Gate failed** Failed conditions ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/failed-16px.png '') [C Security Rating on New Code](https://sonarcloud.io/dashboard?id=apache_dubbo-go=2643) (required ≥ A) [See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_dubbo-go=2643) ## ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/light_bulb-16px.png '') Catch issues before they fail your Quality Gate with our IDE extension ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/sonarlint-16px.png '') [SonarLint](https://www.sonarsource.com/products/sonarlint/features/connected-mode/?referrer=pull-request) -- 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-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
[PR] Feature/竞赛/可观测 星轨初赛文档 [dubbo-kubernetes]
robocanic opened a new pull request, #252: URL: https://github.com/apache/dubbo-kubernetes/pull/252 refer to https://github.com/apache/dubbo-kubernetes/issues/150 赛题:面向云原生的下一代微服务集群监测机制,涵盖Kubernetes、Nacos等 参赛队伍:星轨 提交人:陈才 -- 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-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
[I] Java interoperability issue, `go-client` call `java-server` failed when calling MetadataService during service discovery. [dubbo-go]
chickenlj opened a new issue, #2653: URL: https://github.com/apache/dubbo-go/issues/2653 How to produce: 1. [demo repo](https://github.com/apache/dubbo-go-samples/tree/main/java_interop/service_discovery/service) 2. start `java-server` 3. start `go-client` Then the following error occurs: ```go 2024-04-05 18:32:42 INFO servicediscovery/service_instances_changed_listener_impl.go:102 Received instance notification event of service greet-java-server, instance list size %!s(int=1) panic: reflect: call of reflect.Value.MethodByName on zero Value goroutine 1 [running]: reflect.Value.MethodByName({0x0?, 0x0?, 0x140003d1f80?}, {0x101988e8e?, 0x0?}) /Users/ken/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.1.darwin-arm64/src/reflect/value.go:2112 +0x114 github.com/dubbogo/triple/pkg/triple.getInvoker({0x0?, 0x0?}, 0x12?) /Users/ken/go/pkg/mod/github.com/dubbogo/triple@v1.2.2-rc3/pkg/triple/dubbo3_conn.go:79 +0x104 github.com/dubbogo/triple/pkg/triple.NewTripleClient({0x0, 0x0}, 0x101e33f40?) /Users/ken/go/pkg/mod/github.com/dubbogo/triple@v1.2.2-rc3/pkg/triple/dubbo3_client.go:117 +0x708 dubbo.apache.org/dubbo-go/v3/protocol/triple.NewDubbo3Invoker(0x140008b2700) /Users/ken/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.2.0-rc1/protocol/triple/dubbo3_invoker.go:128 +0x888 dubbo.apache.org/dubbo-go/v3/protocol/triple.(*TripleProtocol).Refer(0x140008c24b0, 0x140008b2700) /Users/ken/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.2.0-rc1/protocol/triple/triple.go:117 +0x58 dubbo.apache.org/dubbo-go/v3/metadata/service/local.createProxy({0x102204780, 0x140004012c0}) /Users/ken/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.2.0-rc1/metadata/service/local/metadata_service_proxy_factory.go:69 +0x124 dubbo.apache.org/dubbo-go/v3/metadata/service.(*BaseMetadataServiceProxyFactory).GetProxy(0x10198174a?, {0x102204780?, 0x140004012c0?}) /Users/ken/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.2.0-rc1/metadata/service/local_service.go:119 +0x34 ``` I think the problem happened when go-client tries to call MetadataService. But it's strange that it wants to call `GetDubboStub` method , that's only available when using Protobuf, but obviously in current version, MetadataService is not from Protobuf. ![image](https://github.com/apache/dubbo-go/assets/18097545/17d95a89-bcee-414f-8769-df9deabf67d7) -- 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-unsubscr...@dubbo.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
Re: [I] [Dependency] Exclude transitive spring dependencies from dubbo-all or dubbo-spring-boot-starter [dubbo]
heliang666s commented on issue #14032: URL: https://github.com/apache/dubbo/issues/14032#issuecomment-2039450017 hello,I think I can do it,please assign me,thanks~ -- 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-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
[I] [Dependency] Exclude transitive spring dependencies from dubbo-all or dubbo-spring-boot-starter [dubbo]
chickenlj opened a new issue, #14032: URL: https://github.com/apache/dubbo/issues/14032 ### 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 issues. ### Apache Dubbo Component Java SDK (apache/dubbo) ### Dubbo Version 3.3.0-beta.2 ### Steps to reproduce this issue Remove the following transitive dependencies from `dubbo-all`, if not possible, exclude them in `dubbo-spring-boot-starter`. ```xml org.springframework spring-core org.springframework spring-beans org.springframework spring-context ``` Try to completely get rid of the following dependency: ```xml com.alibaba.spring spring-context-support ``` ### What you expected to happen * When using spring, the recommended way is spring boot, so transitive spring dependencies is not necessary, let `spring-boot-starter` do this for users. * When using API, we don't need spring dependencies. ### Anything else _No response_ ### 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-unsubscr...@dubbo.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
Re: [PR] 【Openatom Foundation Game】Automated Dubbo framework and protocol performance benchmark Benchmark mechanism and platform [dubbo]
codecov-commenter commented on PR #14031: URL: https://github.com/apache/dubbo/pull/14031#issuecomment-2039368469 ## [Codecov](https://app.codecov.io/gh/apache/dubbo/pull/14031?dropdown=coverage=pr=h1_medium=referral_source=github_content=comment_campaign=pr+comments_term=apache) Report All modified and coverable lines are covered by tests :white_check_mark: > Project coverage is 38.54%. Comparing base [(`a12975a`)](https://app.codecov.io/gh/apache/dubbo/commit/a12975aa93d42a18d308422fddb23b3dc1e8fd9f?dropdown=coverage=desc_medium=referral_source=github_content=comment_campaign=pr+comments_term=apache) to head [(`a2db9a0`)](https://app.codecov.io/gh/apache/dubbo/pull/14031?dropdown=coverage=pr=desc_medium=referral_source=github_content=comment_campaign=pr+comments_term=apache). Additional details and impacted files ```diff @@Coverage Diff @@ ## 3.3 #14031 +/- ## == - Coverage 38.55% 38.54% -0.01% == Files1895 1895 Lines 7927279272 Branches1152811528 == - Hits3056030553 -7 - Misses 444390 +1 - Partials 4273 4279 +6 ``` [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/dubbo/pull/14031?dropdown=coverage=pr=continue_medium=referral_source=github_content=comment_campaign=pr+comments_term=apache). :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral_source=github_content=comment_campaign=pr+comments_term=apache). -- 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-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
Re: [PR] 【Openatom Foundation Game】Automated Dubbo framework and protocol performance benchmark Benchmark mechanism and platform [dubbo]
sonarcloud[bot] commented on PR #14031: URL: https://github.com/apache/dubbo/pull/14031#issuecomment-2039361557 ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=apache_dubbo=14031) **Quality Gate passed** Issues ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=apache_dubbo=14031=false=true) ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/component_measures?id=apache_dubbo=14031=new_accepted_issues=list) Measures ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_dubbo=14031=false=true) ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/no-data-16px.png '') No data about Coverage ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/no-data-16px.png '') No data about Duplication [See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_dubbo=14031) -- 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-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
[PR] fix(xds): add missing resources to the xdsContext [dubbo-kubernetes]
yin1999 opened a new pull request, #251: URL: https://github.com/apache/dubbo-kubernetes/pull/251 ## What is the purpose of the change This PR has added the missing resources required by the xds server to generate xds resoureces. -- 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-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
[PR] fix dds [dubbo-kubernetes]
sjmshsh opened a new pull request, #250: URL: https://github.com/apache/dubbo-kubernetes/pull/250 ## What is the purpose of the change ## Brief changelog ## Verifying this change ## CheckList - [x] Make sure there is a [GitHub_issue](https://github.com/apache/dubbo-kubernetes/issues) field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue. - [ ] Each commit in the pull request should have a meaningful subject line and body. - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. - [ ] GitHub Actions works fine on your own branch. - [ ] If this contribution is large, please follow the [Software Donation Guide](https://github.com/apache/dubbo/wiki/Software-donation-guide). -- 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-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
[PR] refactor(triple-apisix-nacos) : construct the triple gateway example [dubbo-samples]
hhuang1231 opened a new pull request, #1127: URL: https://github.com/apache/dubbo-samples/pull/1127 construct the triple gateway example -- 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-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
Re: [PR] fix bug [dubbo-kubernetes]
sjmshsh closed pull request #247: fix bug URL: https://github.com/apache/dubbo-kubernetes/pull/247 -- 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-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org
(dubbo-samples) branch master updated: Update sentinel sample (#1123)
This is an automated email from the ASF dual-hosted git repository. liujun pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo-samples.git The following commit(s) were added to refs/heads/master by this push: new bacc30280 Update sentinel sample (#1123) bacc30280 is described below commit bacc3028066977e7c0a7b8a0fa266096a108abe6 Author: Ken Liu AuthorDate: Fri Apr 5 15:32:53 2024 +0800 Update sentinel sample (#1123) --- 1-basic/dubbo-samples-api-idl/pom.xml | 19 + .../dubbo/samples/tri/unary/TriUnaryClient.java| 3 + .../dubbo/samples/tri/unary/TriUnaryServer.java| 2 + 1-basic/dubbo-samples-api/pom.xml | 19 + .../apache/dubbo/samples/provider/Application.java | 2 + .../dubbo-samples-sentinel/case-configuration.yml | 4 +- .../dubbo-samples-sentinel/case-versions.conf | 2 +- .../apache/dubbo/samples/sentinel/DemoService.java | 6 ++ .../dubbo-samples-sentinel-consumer/pom.xml| 15 +++- .../samples/consumer/ConsumerApplication.java | 93 ++ .../src/main/resources/application.properties | 6 -- .../dubbo-samples-sentinel-provider/pom.xml| 2 +- .../dubbo/samples/provider/DemoServiceImpl.java| 16 .../samples/provider/ProviderApplication.java | 44 +- .../src/main/resources/application.properties | 8 +- 15 files changed, 220 insertions(+), 21 deletions(-) diff --git a/1-basic/dubbo-samples-api-idl/pom.xml b/1-basic/dubbo-samples-api-idl/pom.xml index 60ee2a5af..0f65a4e8c 100644 --- a/1-basic/dubbo-samples-api-idl/pom.xml +++ b/1-basic/dubbo-samples-api-idl/pom.xml @@ -58,11 +58,30 @@ ${protobuf-java.version} + + +org.slf4j +slf4j-api +1.7.30 + + org.apache.logging.log4j log4j-slf4j-impl ${log4j2.version} + + +org.apache.logging.log4j +log4j-core +${log4j2.version} + + + +org.apache.logging.log4j +log4j-api +${log4j2.version} + diff --git a/1-basic/dubbo-samples-api-idl/src/main/java/org/apache/dubbo/samples/tri/unary/TriUnaryClient.java b/1-basic/dubbo-samples-api-idl/src/main/java/org/apache/dubbo/samples/tri/unary/TriUnaryClient.java index afa2d3cfa..48048020d 100644 --- a/1-basic/dubbo-samples-api-idl/src/main/java/org/apache/dubbo/samples/tri/unary/TriUnaryClient.java +++ b/1-basic/dubbo-samples-api-idl/src/main/java/org/apache/dubbo/samples/tri/unary/TriUnaryClient.java @@ -19,6 +19,7 @@ package org.apache.dubbo.samples.tri.unary; import org.apache.dubbo.config.ReferenceConfig; import org.apache.dubbo.config.bootstrap.DubboBootstrap; +import org.apache.dubbo.config.bootstrap.builders.ApplicationBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -30,6 +31,8 @@ public class TriUnaryClient { public static void main(String[] args) throws IOException { DubboBootstrap bootstrap = DubboBootstrap.getInstance(); + bootstrap.application(ApplicationBuilder.newBuilder().name("dubbo-samples-api-idl-client").logger("slf4j").build()); + ReferenceConfig ref = new ReferenceConfig<>(); ref.setInterface(Greeter.class); ref.setUrl("tri://localhost:50052"); diff --git a/1-basic/dubbo-samples-api-idl/src/main/java/org/apache/dubbo/samples/tri/unary/TriUnaryServer.java b/1-basic/dubbo-samples-api-idl/src/main/java/org/apache/dubbo/samples/tri/unary/TriUnaryServer.java index afbf1586d..90f5c4886 100644 --- a/1-basic/dubbo-samples-api-idl/src/main/java/org/apache/dubbo/samples/tri/unary/TriUnaryServer.java +++ b/1-basic/dubbo-samples-api-idl/src/main/java/org/apache/dubbo/samples/tri/unary/TriUnaryServer.java @@ -21,6 +21,7 @@ import org.apache.dubbo.common.constants.CommonConstants; import org.apache.dubbo.config.ProtocolConfig; import org.apache.dubbo.config.ServiceConfig; import org.apache.dubbo.config.bootstrap.DubboBootstrap; +import org.apache.dubbo.config.bootstrap.builders.ApplicationBuilder; import java.io.IOException; @@ -32,6 +33,7 @@ public class TriUnaryServer { service.setRef(new GreeterImpl("tri-stub")); DubboBootstrap bootstrap = DubboBootstrap.getInstance(); + bootstrap.application(ApplicationBuilder.newBuilder().name("dubbo-samples-api-idl-server").logger("slf4j").build()); bootstrap.protocol(new ProtocolConfig(CommonConstants.TRIPLE, 50052)) .service(service) .start().await(); diff --git a/1-basic/dubbo-samples-api/pom.xml b/1-basic/dubbo-samples-api/pom.xml index e705c4d5b..6363dbabc 100644 --- a/1-basic/dubbo-samples-api/pom.xml +++ b/1-basic/dubbo-samples-api/pom.xml @@ -52,11 +52,30 @@ ${dubbo.version} + + +org.slf4j +
Re: [PR] Update sentinel sample [dubbo-samples]
chickenlj merged PR #1123: URL: https://github.com/apache/dubbo-samples/pull/1123 -- 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-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org