You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@dubbo.apache.org by Easy J <52...@qq.com> on 2018/08/01 09:07:03 UTC

"payload" size > 8M

Hello, dobbo dev
 
         I hava a question,  I had set both the consumer and provider "payload" size > 8M by my spring boot project yml setting of protocol,    
 
        "protocol:
 
                      id: dubbo
 
                   name: dubbo
 
                     port: 12345
 
                     payload: 52428800
 
        "
 
but unfortunately, it did not work, the console alway print "Data too large..." and then my IDE-tool crash.
 
for further analysis,I check the the logs , please see the according the analys result , I Compare files ReferenceConfig.class and ServiceConfig.class, and find that,
 
see the screenshot, the ServiceConfig.class did not add protocol data so the consumer always store the size = 8m.
 
So how can i set the consumer side can received date size >8 M , thank you.
 
 
 
_[0;39m _[36mcom.alibaba.dubbo.config.AbstractConfig _[0;39m _[2m:_[0;39m  [DUBBO] Refer dubbo service com.xzsoft.server.DemoService from url dubbo://localhost:12345/com.xzsoft.server.DemoService?application=dubbo-consumer-demo&dubbo=2.6.2&interface=com.xzsoft.server.DemoService&methods=callJames&pid=6536&register.ip=192.168.0.99&revision=1.0.0&side=consumer&timestamp=1533113553022&version=1.0.0, dubbo version: 2.6.2, current host: 192.168.0.99
 
 
 

 
 
 
-------------------------------------
 
james.durant
 
15840071470
 
github:526130567@qq.com
 
Business should be honest and clear.