{"action":"opened","issue":{"url":"https://api.github.com/repos/spring-cloud-stream-app-starters/file/issues/1","repository_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/file","labels_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/file/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/file/issues/1/comments","events_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/file/issues/1/events","html_url":"https://github.com/spring-cloud-stream-app-starters/file/issues/1","id":195709218,"number":1,"title":"Wrong documentation for \"dir\" parameter","user":{"login":"sabbyanandan","id":1562654,"avatar_url":"https://avatars.githubusercontent.com/u/1562654?v=3","gravatar_id":"","url":"https://api.github.com/users/sabbyanandan","html_url":"https://github.com/sabbyanandan","followers_url":"https://api.github.com/users/sabbyanandan/followers","following_url":"https://api.github.com/users/sabbyanandan/following{/other_user}","gists_url":"https://api.github.com/users/sabbyanandan/gists{/gist_id}","starred_url":"https://api.github.com/users/sabbyanandan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sabbyanandan/subscriptions","organizations_url":"https://api.github.com/users/sabbyanandan/orgs","repos_url":"https://api.github.com/users/sabbyanandan/repos","events_url":"https://api.github.com/users/sabbyanandan/events{/privacy}","received_events_url":"https://api.github.com/users/sabbyanandan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-15T03:36:16Z","updated_at":"2016-12-15T03:36:16Z","closed_at":null,"body":"_From @sabbyanandan on May 13, 2016 14:1_\n\n_From @salgmachine on May 8, 2016 0:2_\n\nHi, \n\nI just had the following issue: \nThe documentation states: \n\n> \"dir\" - the absolute path to the directory to monitor for files\n\nI tool a look at the class \"FileSourceProperties\", the variable which gets passed the directory parameter is called \"directory\". \n\nTo reproduce:\n\nThe following stream definition didn't work (nothing was logged): \n`file --mode=ref --dir=/home/kafka/test | log`\n\nThe following stream definition worked (log now showing expected output):\n`file --mode=ref --directory=/home/kafka/test | log`\n\nI guess it's just an error in the documentation but this has some impact on people taking their first steps with the stream modules.\n\n_Copied from original issue: spring-cloud/spring-cloud-stream-modules#258_\n\n\n_Copied from original issue: spring-cloud/spring-cloud-stream-app-starters#92_"}}
{"actor":{"display_login":"sabbyanandan"}}