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

3.0 引入 ClusterFilter 拦截器定义 #7382

Closed
chickenlj opened this issue Mar 16, 2021 · 0 comments
Closed

3.0 引入 ClusterFilter 拦截器定义 #7382

chickenlj opened this issue Mar 16, 2021 · 0 comments

Comments

@chickenlj
Copy link
Contributor

在 Dubbo 中, Filter 被设计用来拦截和过滤单次请求,基于这个实现,用户和开发者可以在不改变核心框架的情况下,非常方便的嵌入自己的逻辑来影响请求行为和请求数据。

从 3.0 版本开始,在保持原有 Filter 拦截语义的情况下,框架在消费端引入了新的拦截扩展点 ClusterFilter,用于在选址之前拦截请求,并且我们建议在绝大多数情况下,都尽量选择将拦截器都定义为 ClusterFilter:

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant