apisix icon indicating copy to clipboard operation
apisix copied to clipboard

feat: common dubbo-proxy plugin

Open mayunSaicmotor opened this issue 1 year ago • 5 comments

Description

Dear, It seems it is not easy to use the dubbo proxy plugin in real project. It has too much restriction. It's not very common solution. Do you have plan to develop a common dubbo proxy plugin in future?

mayunSaicmotor avatar Jan 18 '24 09:01 mayunSaicmotor

@mayunSaicmotor , as we discussed in the previous issue #10648 , I would summarise the issues we faced :

  • mod_dubbo used by APISIX, does not any datatype other than Map<String, Object> for both as return type and arguments.
  • mod_dubbo uses hessian2 as the only deserialization protocol
  • data passed through headers work out of the box, but for data in the body, it requires further deserialization using hessian2 decoder.

These are the issues that need to be worked upon to make dubbo-proxy better.

sheharyaar avatar Jan 18 '24 11:01 sheharyaar

Agree! how do u think about this feat @shreemaan-abhishek @monkeyDluffy6017

Vacant2333 avatar Jan 19 '24 12:01 Vacant2333

@shreemaan-abhishek , can you please assign me this

sheharyaar avatar Jan 19 '24 14:01 sheharyaar

Hi @mayunSaicmotor , can you please checkout this : #10703 , usage example can be found under t/plugin/http-dubbo.t

sheharyaar avatar Feb 01 '24 16:02 sheharyaar

LGTM

monkeyDluffy6017 avatar Feb 04 '24 02:02 monkeyDluffy6017