@Activate(group="consumer") public class SentinelDubboConsumerFilter extends Object implements com.alibaba.dubbo.rpc.Filter
Dubbo service consumer filter for Sentinel. Auto activated by default.
If you want to disable the consumer filter, you can configure:<dubbo:consumer filter="-sentinel.dubbo.consumer.filter"/>
| Constructor and Description |
|---|
SentinelDubboConsumerFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getResourceName(com.alibaba.dubbo.rpc.Invoker<?> invoker,
com.alibaba.dubbo.rpc.Invocation invocation) |
com.alibaba.dubbo.rpc.Result |
invoke(com.alibaba.dubbo.rpc.Invoker<?> invoker,
com.alibaba.dubbo.rpc.Invocation invocation) |
public com.alibaba.dubbo.rpc.Result invoke(com.alibaba.dubbo.rpc.Invoker<?> invoker,
com.alibaba.dubbo.rpc.Invocation invocation)
throws com.alibaba.dubbo.rpc.RpcException
invoke in interface com.alibaba.dubbo.rpc.Filtercom.alibaba.dubbo.rpc.RpcExceptionprotected String getResourceName(com.alibaba.dubbo.rpc.Invoker<?> invoker, com.alibaba.dubbo.rpc.Invocation invocation)
Copyright © 2018 Alibaba Group. All rights reserved.