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