{"action":"opened","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/issues/571","repository_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/issues/571/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/issues/571/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/issues/571/events","html_url":"https://github.com/spring-cloud/spring-cloud-stream/issues/571","id":159490089,"number":571,"title":"Property prefixes for aggregation (via namespaces)","user":{"login":"mbogoevici","id":159684,"avatar_url":"https://avatars.githubusercontent.com/u/159684?v=3","gravatar_id":"","url":"https://api.github.com/users/mbogoevici","html_url":"https://github.com/mbogoevici","followers_url":"https://api.github.com/users/mbogoevici/followers","following_url":"https://api.github.com/users/mbogoevici/following{/other_user}","gists_url":"https://api.github.com/users/mbogoevici/gists{/gist_id}","starred_url":"https://api.github.com/users/mbogoevici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbogoevici/subscriptions","organizations_url":"https://api.github.com/users/mbogoevici/orgs","repos_url":"https://api.github.com/users/mbogoevici/repos","events_url":"https://api.github.com/users/mbogoevici/events{/privacy}","received_events_url":"https://api.github.com/users/mbogoevici/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/milestones/5","html_url":"https://github.com/spring-cloud/spring-cloud-stream/milestones/1.1.0.M1","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/milestones/5/labels","id":1664472,"number":5,"title":"1.1.0.M1","description":"","creator":{"login":"mbogoevici","id":159684,"avatar_url":"https://avatars.githubusercontent.com/u/159684?v=3","gravatar_id":"","url":"https://api.github.com/users/mbogoevici","html_url":"https://github.com/mbogoevici","followers_url":"https://api.github.com/users/mbogoevici/followers","following_url":"https://api.github.com/users/mbogoevici/following{/other_user}","gists_url":"https://api.github.com/users/mbogoevici/gists{/gist_id}","starred_url":"https://api.github.com/users/mbogoevici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbogoevici/subscriptions","organizations_url":"https://api.github.com/users/mbogoevici/orgs","repos_url":"https://api.github.com/users/mbogoevici/repos","events_url":"https://api.github.com/users/mbogoevici/events{/privacy}","received_events_url":"https://api.github.com/users/mbogoevici/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":5,"state":"open","created_at":"2016-03-24T18:29:14Z","updated_at":"2016-06-09T19:35:19Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-06-09T19:35:19Z","updated_at":"2016-06-09T19:35:19Z","closed_at":null,"body":"Aggregation should be able to define property prefixes either for command-line arguments or for the environment. Right now passing arguments to the applications themselves is a manual process. At a first pass, namespaces can fufill that role.\r\n\r\ne.g. when running application `A` expecting property `foo` and application `B` expecting property `bar`, for:\r\n\r\n```\r\nreturn new AggregateApplicationBuilder(Aggregator.class)\r\n\t\t\t\t.from(SourceApplication.class).namespace(\"a\")\r\n\t\t\t\t.to(SinkApplication.class).namespace(\"b\")\r\n\t\t\t\t.run(args);\r\n```\r\n\r\nusing CLI arguments such as\r\n\r\n```\r\n--a.foo=baz --b.bar=qux\r\n```\r\n\r\nor environment variables such as:\r\n\r\n```\r\nA_FOO=baz\r\nB_BAR=qux\r\n```\r\n\r\nshould result in the properties `foo` and `bar` being set to `baz` and `qux` on the respective applications.\r\n\r\nNote: we should take special care for existing applications that do not support this type of behaviour and might be taken by surprise by the introduction of this feature.\r\n"}}
{"actor":{"display_login":"mbogoevici"}}