Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Dubbo-Proxy Plugin Support Multi Type Object Request And Response #9798

Closed
0x101011 opened this issue Jul 7, 2023 · 6 comments
Closed

Comments

@0x101011
Copy link

0x101011 commented Jul 7, 2023

Description

As a Deep User Of Apache Apisix and Apache Dubbo , I find Apisix has Ability to proxy Dubbo service but needed advanced feature . which is Strong Typed Parameter Proxy.

Now Dubbo-Proxy-Plugin may just support Map<String,String> Response or Request.

Java developer need this badly.

I sincerely want to know APISIX community if there are any plans or Technology roadmap to support this feature, if yes how can i join the feature to achieve this via community guide

@0x101011 0x101011 changed the title Dubbo-Proxy Plugin Support Multi Type Object Request And Response feat: Dubbo-Proxy Plugin Support Multi Type Object Request And Response Jul 7, 2023
@Sn0rt
Copy link
Contributor

Sn0rt commented Jul 7, 2023

Description

As a Deep User Of Apache Apisix and Apache Dubbo , I find Apisix has Ability to proxy Dubbo service but needed advanced feature . which is Strong Typed Parameter Proxy.

Now Dubbo-Proxy-Plugin may just support Map<String,String> Response or Request.

Java developer need this badly.

I sincerely want to know APISIX community if there are any plans or Technology roadmap to support this feature, if yes how can i join the feature to achieve this via community guide

interesting. can you provide a user case?

maybe we need a proposal for discuss.

@0x101011
Copy link
Author

0x101011 commented Jul 7, 2023

Description

As a Deep User Of Apache Apisix and Apache Dubbo , I find Apisix has Ability to proxy Dubbo service but needed advanced feature . which is Strong Typed Parameter Proxy.
Now Dubbo-Proxy-Plugin may just support Map<String,String> Response or Request.
Java developer need this badly.

I sincerely want to know APISIX community if there are any plans or Technology roadmap to support this feature, if yes how can i join the feature to achieve this via community guide

interesting. can you provide a user case?

maybe we need a proposal for discuss.

Yes Bro,

In some java web develop cases, we design api by RPC or ROA pattern. we always try to POST a DTO Object request Parameters.

In many cases , the param not just contain BASIC Java Types : the Parent Class DTO contains many sub Class DTO. it came to be nested Object.

controller:

    @PostMapping("/api/saveOrUpdate")
    public Mono<String> saveOrUpdate(@RequestBody MetaDataDTO metaDataDto) {
            return Mono.just(Constants.SUCCESS);
    }

request param

public class MetaDataDto {

    private String id;

    private String appName;

    private String contextPath;

    private String path;

   private MetaConfigDTO metaconfig;

In Dubbo , the Provider Alway choose to define a Facade/API layer ,which just contain all function interface and param DTO. this layer give to Consumer to dependency .

such as:

Facade/API layer

public interface HelloService {
    public UserVerifyResponse verify(UserInfoRequest who);
}

So . in Dubbo-Proxy-Plugin it provide ability to parse HTTP -> Dubbo xrpc . it really helpful for some Developed Online Dubbo Service ,for we can expose dubbo service not to develop a Java Web Parsing Dubbo Layer.

But for many application online which we can not Expose it easy because Parameter Type Problem.

@Sn0rt
Copy link
Contributor

Sn0rt commented Jul 18, 2023

Does it seem like a type of requirement? #9660

@0x101011
Copy link
Author

0x101011 commented Aug 1, 2023

Does it seem like a type of requirement? #9660

Yes sir.

Copy link

This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.

@github-actions github-actions bot added the stale label Jul 16, 2024
Copy link

This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants