私はFlumeが初めてです。クライアントからエージェントにファイルを送信したいと考えています。私のエージェントコードは次のとおりです
#define agent
agent.sources = source
agent.sinks = sink
agent.channels = channel
# properties of source
agent.sources.source.type = avro
agent.sources.source.bind = localhost
agent.sources.source.port = 10000
# properties of channel
agent.channels.channel.type = memory
agent.channels.channel.capacity = 5000
agent.channels.channel.transactionCapacity = 500
# properties of sink
agent.sinks.sink.type = hdfs
agent.sinks.sink.hdfs.path = hdfs://Files
#...
これはエージェント コードのみです。エージェントを実行するためのコマンドと、エージェントを送信できるクライアント、ファイルの書き込み/実行方法を教えてください。My Problem is how to send file to agent
私を助けてください。