What’s New in Sentinel 1.7.2? Explore Logger SPI, Zuul 2.x, and SOFARPC Adaptations
Sentinel 1.7.2 introduces a Logger SPI extension, Zuul 2.x gateway flow‑control, SOFARPC adaptation, and numerous other enhancements, expanding its microservice, API gateway, and service‑mesh support across Java, C++, and Go ecosystems.
Sentinel 1.7.2 has been officially released, introducing a Logger SPI extension mechanism, Zuul 2.x gateway flow control, SOFARPC adaptation, and several other enhancements.
Diverse Adaptation Modules
Sentinel now covers core ecosystems of microservices, API gateways, and service mesh, with native implementations for Java, C++, and Go.
Thanks to community contributions, Sentinel 1.7.2 adds more adaptation modules:
Zuul 2.x adaptation module: allows custom flow‑control policies per route or custom API group dimensions.
SOFARPC adaptation module: enables rule configuration for SOFARPC provider/consumer interfaces and methods, supporting source limiting and fallback logic.
Log Extension Mechanism
Version 1.7.2 introduces a new logging extension mechanism with a Logger SPI extension point (effective for RecordLog and CommandCenterLog). Users can implement custom loggers to integrate with SLF4J, Logback, Log4j2, etc. Sentinel Core’s default logger remains JDK logging, and a community‑provided SLF4J adapter can be used by adding the sentinel‑logging‑slf4j module and configuring sentinelRecordLogger and sentinelCommandCenterLogger.
Slot SPI Extension Mechanism Refactor
Sentinel’s features are composed of slots. Previously, slot extensions used the SlotChainBuilder SPI, requiring users to manage slot order explicitly. In 1.7.2, the mechanism is refactored: ProcessorSlot itself becomes an SPI, each slot specifies order via @SpiOrder annotation, simplifying combination of slots from different modules. Future versions will further enhance plug‑and‑play capabilities.
Other Features and Improvements
Spring Web adaptation module now supports chain‑level flow control. The sentinel‑transport‑simple‑http module has been improved to handle larger POST requests. HTTP rule push error messages have been refined, and client low‑version FastJSON detection added. See the Release Notes for details.
Reference
Sentinel 1.7.2: https://github.com/alibaba/Sentinel/releases/tag/1.7.2
Release Notes: https://github.com/alibaba/Sentinel/wiki/Release-Notes#172
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Java Architecture Diary
Committed to sharing original, high‑quality technical articles; no fluff or promotional content.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
