{"action":"opened","issue":{"url":"https://api.github.com/repos/keedio/flume-ftp-source/issues/12","labels_url":"https://api.github.com/repos/keedio/flume-ftp-source/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/keedio/flume-ftp-source/issues/12/comments","events_url":"https://api.github.com/repos/keedio/flume-ftp-source/issues/12/events","html_url":"https://github.com/keedio/flume-ftp-source/issues/12","id":67796465,"number":12,"title":"Zip file sourcing","user":{"login":"deepakbs","id":1656001,"avatar_url":"https://avatars.githubusercontent.com/u/1656001?v=3","gravatar_id":"","url":"https://api.github.com/users/deepakbs","html_url":"https://github.com/deepakbs","followers_url":"https://api.github.com/users/deepakbs/followers","following_url":"https://api.github.com/users/deepakbs/following{/other_user}","gists_url":"https://api.github.com/users/deepakbs/gists{/gist_id}","starred_url":"https://api.github.com/users/deepakbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepakbs/subscriptions","organizations_url":"https://api.github.com/users/deepakbs/orgs","repos_url":"https://api.github.com/users/deepakbs/repos","events_url":"https://api.github.com/users/deepakbs/events{/privacy}","received_events_url":"https://api.github.com/users/deepakbs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-11T14:56:19Z","updated_at":"2015-04-11T14:56:19Z","closed_at":null,"body":"Hi, I am trying to poll an FTP location for a zip file. Since i need the to unzip the zip file and send the XML file, i wrote an interceptor to do the task. Although interceptor works, the zip file does not get through properly from the FTPSource to Intercpetor. If i output the file in FTPSource.readstream  at the beginning before converting the inputstream to byte array, the file gets correctly created. But after converting to byte array if i output the file, it does not get created properly. \r\nThe scenario i am working on is, collect the zip file in Flume , unzip the file, extract the XML file and send it to Kafka for further processing. Can you please suggest the best way of doing this.\r\n\r\nThanks\r\nDeepak"}}