dubboclub / dubbo-plus Goto Github PK
View Code? Open in Web Editor NEWdubbo的插件集合
License: Apache License 2.0
dubbo的插件集合
License: Apache License 2.0
@
在运行的时候怎么关掉dubbo监控,怎么把DubboCat.isEnable设置成false
请看Dubbo Plugin for Apache JMeter是用来在Jmeter里更加方便的测试Dubbo接口而开发的插件
Caused by: redis.clients.jedis.exceptions.JedisDataException: NOAUTH Authentication required.
我在我自己的应用项目内集成插件,然后开启了监听,但是cross报表内还是没有东西,DubboCat.isEnable()返回值为true,是不是这个插件太老已经不兼容现在的dubbo版本了?
现在记的是服务提供者的ip,应该是消费者ip:RpcContext.getContext().getRemoteHost()
dubbo-plus/circuitbreaker/src/main/java/net/dubboclub/cricuitbreaker/
CloseableHttpResponse response = httpclient.execute(httpPost);
int responseCode = response.getStatusLine().getStatusCode();
if(responseCode==200){
HttpEntity responseEntity = response.getEntity();
if(responseEntity!=null){
return EntityUtils.toByteArray(responseEntity);
}
}else if(responseCode==404){
throw new RpcException(RpcException.UNKNOWN_EXCEPTION,"not found service for url ["+url+"]");
}else if(responseCode==500){
throw new RpcException(RpcException.NETWORK_EXCEPTION,"occur an exception at server end.");
}
CloseableHttpResponse
需要在finally中关闭,不然responseCode
在不等于200
的情况下,连接就没关闭,导致连接泄露。
配置好之后,连接完成后提示如下:
19:31:40.629 [ZkClient-EventThread-17-192.168.2.10:2181] WARN io.netty.bootstrap.Bootstrap - Unknown channel option: SO_TIMEOUT=30000
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.