Skip to content

Support "chain" relation flow strategy and "web-context-unify" in Spring web adapter #1314

@sczyh30

Description

@sczyh30

Issue Description

Type: feature request

Describe what happened (or what feature you want)

The legacy web servlet CommonFilter supports "chain" relation flow strategy, where entrance contexts are separated by different URLs. This feature has not been supported yet in sentinel-spring-webmvc-adapter. We may also support this in the Spring web adapter and preserve a web-context-unify config item to control this (by default true).

Discussions and contributions are welcomed!


旧的 Web servlet CommonFilter 支持链路限流,通过入口 URL 区分不同链路(入口),并支持归一入口(不区分链路)以节省内存占用。sentinel-spring-webmvc-adapter 目前还不支持这个特性,社区可以考虑进行支持,但仍然要提供 web-context-unify 配置项控制是否归一入口(默认为 true 以节省内存占用),欢迎社区贡献。

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/integrationsIssues or PRs related to integrations with open-source componentsgood first issueGood for newcomerskind/enhancementCategory issues or prs related to enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions