我有一个带有 httpsource 的水槽。当我启动我的代理时,我收到如下所示的权限被拒绝错误。
错误 org.apache.flume.source.http.HTTPSource:启动 HTTPSo$ java.net.SocketException 时出错:权限被拒绝
我不确定是什么被拒绝以及如何解决它。
我使用的水槽取自另一篇文章,如下所示。
谢谢
###############################
tier1.sources = http-source
tier1.sinks = local-file-sink
tier1.channels = ch3
# Define / Configure Source (multiport seems to support newer "stuff")
###############################
tier1.sources.http-source.type = org.apache.flume.source.http.HTTPSource
tier1.sources.http-source.channels = ch3
tier1.sources.http-source.port = 81
# Local File Sink
###############################
tier1.sinks.local-file-sink.type = file_roll
tier1.sinks.local-file-sink.channel = ch3
tier1.sinks.local-file-sink.sink.directory = /var/log/flume
tier1.sinks.local-file-sink.rollInterval = 5
# Channels
###############################
tier1.channels.ch3.type = memory
tier1.channels.ch3.capacity = 1000