siaorg / sia-gateway

微服务路由网关(zuul-plus)
Apache License 2.0
791 stars 345 forks source link

日志收集模块存在循环收集日志的可能 #41

Open thinwonton opened 4 years ago

thinwonton commented 4 years ago

举个例子。在其他模块打印日志的时候 sia-gateway-sink 获取到kafka的event,此时在 sia-gateway-sink 中打印日志,由于appender 的关系,又把日志(“我收到日志啦”)收集到kafka中。这样即使外部系统不再发送日志了,日志收集模块还是一直在产生自己的消息和消费自己的消息。