From 74a85e518da74f7ebb1bc3e1a897a389b7c4eaa2 Mon Sep 17 00:00:00 2001 From: bandl <1658002533@qq.com> Date: Tue, 19 Oct 2021 16:02:05 +0800 Subject: [PATCH] feat(conf): update conf --- conf/wheat-cache.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/conf/wheat-cache.yaml b/conf/wheat-cache.yaml index 08f2c02..386c2de 100644 --- a/conf/wheat-cache.yaml +++ b/conf/wheat-cache.yaml @@ -24,9 +24,25 @@ middleware-driver: driverCount: 1000 middleConsumerCount: 5 +# Register the message push type +# 在这里注册消息推送类型, plugins-control: - logcontext: [ "logMiddle" ] + # log-context: Logs generated by storage or gateway are pushed through this message + # log-context: storage 或者 gateway 产生的日志通过这个消息推送 + - log-context: [ "mock-plugins" ] + + # lru-clean-context: Lru is pushed through this message when data cleansing occurs + # lru-clean-context: Lru 发生数据清理时通过这个消息推送 + - lru-clean-context: ["mock-plugins"] + + # lru-ttl-context: Lru is pushed through this message when data expires + # lru-ttl-context: Lru 发生数据过期时通过这个消息推送 + - lru-ttl-context: ["mock-plugins"] + + # plugins-info-context:All plugins information for the current project + # plugins-info-context: 当前项目全部的插件信息 + - plugins-info-context: ["mock-plugins"] gateway: host: '127.0.0.1'