I am new to Apache Flume-ng. I want to send files from client-agent to server-agent, who will ultimately write files to HDFS. I have done it via script but not using Flume APIs. I want to do it via Flume APIs. Please help me in this regard. And tell me steps, how to start and organize program.