根据官网,楼主配置似乎有些问题,但是尚不确定,下面仅供楼主参考
Kafka Channel
The events are stored in a Kafka cluster (must be installed separately). Kafka provides high availability and replication, so in case an agent or a kafka broker crashes, the events are immediately available to other sinks
The Kafka channel can be used for multiple scenarios: * With Flume source and sink - it provides a reliable and highly available channel for events * With Flume source and interceptor but no sink - it allows writing Flume events into a Kafka topic, for use by other apps * With Flume sink, but no source - it is a low-latency, fault tolerant way to send events from Kafka to Flume sources such as HDFS, HBase or Solr
多种场景:
1.提供一个channel和 Flume source但是没有sink
2.允许写flume events 到Kafka topic,但是没有source
3.它是一个低延迟,容错的方式发送events 从Kafka到Flume sources比如 HDFS, HBase 或则Solr |