Hi....I am using Flume-ng to transfer data from application server to cluster. I have done this simple task through script (.config file). But new problem is that i have to add customer key-value pairs (user id, stream id etc) in Event header and extract those in server side, so that each user's data can be saved in his directory (user id will be directory name) i.e. header will describe where to place data. I am unable to find its solution i.e. how to extract key-value pairs in server-agent and place data to directories specified in header. Please tell me how can i do this. Moreover i didn't find help regarding flume-ng API except on www.flume.apache.com , but that too doesn't contain an executable code. That API demonstration requires too much time to customize and run. Please help me with a sample program (via APIs not Script) if possible. Thanks
-- Sincerely, Fakhar uz zaman BS Software Engineer, Punjab University College of Information Technology (PUCIT) Lahore, Pakistan
