首页 > 解决方案 > EmbeddedAgent org.apache.flume.sink.http.HttpSink 的组件类型不在 [AVRO] 的允许类型中

问题描述

当我使用 EmbeddedAgent 并设置 [sink.type=org.apache.flume.sink.http.HttpSink] 时,抛出异常:org.apache.flume.FlumeException: org.apache.flume.sink.http.HttpSink 的组件类型为不在 [AVRO]
的允许类型中 代码如下所示

/**
   * Avro sink which can send events to a downstream avro source. This is the
   * only supported sink for Embedded Agents.
   */
  public static final String SINK_TYPE_AVRO = SinkType.AVRO.name();

为什么不能使用其他水槽

标签: flume-ng

解决方案


推荐阅读