- Add `close` method in WritableDataSource (to extend AutoCloseable in JDK 1.7 later) - Separate the writable file data source from original class - Add a sample to show how to register data sources via Sentinel init mechanism - Separate a writable data source registry from original handler to make it clear Signed-off-by: Eric Zhao <sczyh16@gmail.com> |
||
|---|---|---|
| .. | ||
| sentinel-demo-annotation-spring-aop | ||
| sentinel-demo-apollo-datasource | ||
| sentinel-demo-basic | ||
| sentinel-demo-dubbo | ||
| sentinel-demo-dynamic-file-rule | ||
| sentinel-demo-nacos-datasource | ||
| sentinel-demo-rocketmq | ||
| sentinel-demo-zookeeper-datasource | ||
| README.md | ||
| pom.xml | ||
README.md
Sentinel Examples
The examples demonstrate:
- How to leverage basic features (e.g. flow control, circuit breaking, load protection) of Sentinel
- How to use various data source extensions of Sentinel (e.g. file, Nacos, ZooKeeper)
- How to use Dubbo with Sentinel
- How to use Apache RocketMQ client with Sentinel