{"action":"created","issue":{"url":"https://api.github.com/repos/apache/kafka/issues/1965","repository_url":"https://api.github.com/repos/apache/kafka","labels_url":"https://api.github.com/repos/apache/kafka/issues/1965/labels{/name}","comments_url":"https://api.github.com/repos/apache/kafka/issues/1965/comments","events_url":"https://api.github.com/repos/apache/kafka/issues/1965/events","html_url":"https://github.com/apache/kafka/pull/1965","id":181011831,"number":1965,"title":"KAFKA-4176: Only call printStream.flush for System.out","user":{"login":"guozhangwang","id":10729597,"avatar_url":"https://avatars.githubusercontent.com/u/10729597?v=3","gravatar_id":"","url":"https://api.github.com/users/guozhangwang","html_url":"https://github.com/guozhangwang","followers_url":"https://api.github.com/users/guozhangwang/followers","following_url":"https://api.github.com/users/guozhangwang/following{/other_user}","gists_url":"https://api.github.com/users/guozhangwang/gists{/gist_id}","starred_url":"https://api.github.com/users/guozhangwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guozhangwang/subscriptions","organizations_url":"https://api.github.com/users/guozhangwang/orgs","repos_url":"https://api.github.com/users/guozhangwang/repos","events_url":"https://api.github.com/users/guozhangwang/events{/privacy}","received_events_url":"https://api.github.com/users/guozhangwang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-04T21:38:55Z","updated_at":"2016-10-05T01:46:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/kafka/pulls/1965","html_url":"https://github.com/apache/kafka/pull/1965","diff_url":"https://github.com/apache/kafka/pull/1965.diff","patch_url":"https://github.com/apache/kafka/pull/1965.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/apache/kafka/issues/comments/251561794","html_url":"https://github.com/apache/kafka/pull/1965#issuecomment-251561794","issue_url":"https://api.github.com/repos/apache/kafka/issues/1965","id":251561794,"user":{"login":"bbejeck","id":199238,"avatar_url":"https://avatars.githubusercontent.com/u/199238?v=3","gravatar_id":"","url":"https://api.github.com/users/bbejeck","html_url":"https://github.com/bbejeck","followers_url":"https://api.github.com/users/bbejeck/followers","following_url":"https://api.github.com/users/bbejeck/following{/other_user}","gists_url":"https://api.github.com/users/bbejeck/gists{/gist_id}","starred_url":"https://api.github.com/users/bbejeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbejeck/subscriptions","organizations_url":"https://api.github.com/users/bbejeck/orgs","repos_url":"https://api.github.com/users/bbejeck/repos","events_url":"https://api.github.com/users/bbejeck/events{/privacy}","received_events_url":"https://api.github.com/users/bbejeck/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T01:46:35Z","updated_at":"2016-10-05T01:46:35Z","body":"For my own clarity I wanted to see where I went awry.  When `print()` is called the constructor call `KeyValuePrinter<>(keySerde, valSerde, streamName)` is used which delegates to `this(System.out, keySerde, valueSerde, streamName);` in the KeyValuePrinter class.  Since `System.out` is not null the boolean flag is never set and when `close()` is called on the processor `System.out` is closed as well. \r\n\r\n@guozhangwang  thanks for fixing."}}
{"actor":{"display_login":"bbejeck"}}