{"action":"created","issue":{"url":"https://api.github.com/repos/akka/akka/issues/16967","labels_url":"https://api.github.com/repos/akka/akka/issues/16967/labels{/name}","comments_url":"https://api.github.com/repos/akka/akka/issues/16967/comments","events_url":"https://api.github.com/repos/akka/akka/issues/16967/events","html_url":"https://github.com/akka/akka/issues/16967","id":59345727,"number":16967,"title":"Set inputSize attributes on Sinks where the maximum number of elements consumed is known","user":{"login":"drewhk","id":932285,"avatar_url":"https://avatars.githubusercontent.com/u/932285?v=3","gravatar_id":"","url":"https://api.github.com/users/drewhk","html_url":"https://github.com/drewhk","followers_url":"https://api.github.com/users/drewhk/followers","following_url":"https://api.github.com/users/drewhk/following{/other_user}","gists_url":"https://api.github.com/users/drewhk/gists{/gist_id}","starred_url":"https://api.github.com/users/drewhk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewhk/subscriptions","organizations_url":"https://api.github.com/users/drewhk/orgs","repos_url":"https://api.github.com/users/drewhk/repos","events_url":"https://api.github.com/users/drewhk/events{/privacy}","received_events_url":"https://api.github.com/users/drewhk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/akka/akka/labels/1%20-%20triaged","name":"1 - triaged","color":"5319e7"},{"url":"https://api.github.com/repos/akka/akka/labels/t:stream","name":"t:stream","color":"cccccc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/akka/akka/milestones/16","html_url":"https://github.com/akka/akka/milestones/streams-1.x","labels_url":"https://api.github.com/repos/akka/akka/milestones/16/labels","id":745106,"number":16,"title":"streams-1.x","description":"","creator":{"login":"rkuhn","id":470469,"avatar_url":"https://avatars.githubusercontent.com/u/470469?v=3","gravatar_id":"","url":"https://api.github.com/users/rkuhn","html_url":"https://github.com/rkuhn","followers_url":"https://api.github.com/users/rkuhn/followers","following_url":"https://api.github.com/users/rkuhn/following{/other_user}","gists_url":"https://api.github.com/users/rkuhn/gists{/gist_id}","starred_url":"https://api.github.com/users/rkuhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkuhn/subscriptions","organizations_url":"https://api.github.com/users/rkuhn/orgs","repos_url":"https://api.github.com/users/rkuhn/repos","events_url":"https://api.github.com/users/rkuhn/events{/privacy}","received_events_url":"https://api.github.com/users/rkuhn/received_events","type":"User","site_admin":false},"open_issues":112,"closed_issues":1,"state":"open","created_at":"2014-08-06T15:08:47Z","updated_at":"2015-07-27T15:29:37Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-02-28T15:39:03Z","updated_at":"2015-07-28T21:56:08Z","closed_at":null,"body":"Like, head, take. With the new handling of attributes this can be done very easily."},"comment":{"url":"https://api.github.com/repos/akka/akka/issues/comments/125764911","html_url":"https://github.com/akka/akka/issues/16967#issuecomment-125764911","issue_url":"https://api.github.com/repos/akka/akka/issues/16967","id":125764911,"user":{"login":"ktoso","id":120979,"avatar_url":"https://avatars.githubusercontent.com/u/120979?v=3","gravatar_id":"","url":"https://api.github.com/users/ktoso","html_url":"https://github.com/ktoso","followers_url":"https://api.github.com/users/ktoso/followers","following_url":"https://api.github.com/users/ktoso/following{/other_user}","gists_url":"https://api.github.com/users/ktoso/gists{/gist_id}","starred_url":"https://api.github.com/users/ktoso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktoso/subscriptions","organizations_url":"https://api.github.com/users/ktoso/orgs","repos_url":"https://api.github.com/users/ktoso/repos","events_url":"https://api.github.com/users/ktoso/events{/privacy}","received_events_url":"https://api.github.com/users/ktoso/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T21:56:08Z","updated_at":"2015-07-28T21:56:08Z","body":"We have `DefaultAttributes` in `akka.stream.impl.Stages`, in there for `head` etc we could define that:\r\n`val headSink = name(\"headSink\") and inputBuffer(initial = 1, max = 1)`."}}