{"action":"created","issue":{"url":"https://api.github.com/repos/confluentinc/camus/issues/31","labels_url":"https://api.github.com/repos/confluentinc/camus/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/confluentinc/camus/issues/31/comments","events_url":"https://api.github.com/repos/confluentinc/camus/issues/31/events","html_url":"https://github.com/confluentinc/camus/pull/31","id":121073750,"number":31,"title":"Execute debug specific code only when debug logging is enabled","user":{"login":"anatoliy-sokolenko","id":357018,"avatar_url":"https://avatars.githubusercontent.com/u/357018?v=3","gravatar_id":"","url":"https://api.github.com/users/anatoliy-sokolenko","html_url":"https://github.com/anatoliy-sokolenko","followers_url":"https://api.github.com/users/anatoliy-sokolenko/followers","following_url":"https://api.github.com/users/anatoliy-sokolenko/following{/other_user}","gists_url":"https://api.github.com/users/anatoliy-sokolenko/gists{/gist_id}","starred_url":"https://api.github.com/users/anatoliy-sokolenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anatoliy-sokolenko/subscriptions","organizations_url":"https://api.github.com/users/anatoliy-sokolenko/orgs","repos_url":"https://api.github.com/users/anatoliy-sokolenko/repos","events_url":"https://api.github.com/users/anatoliy-sokolenko/events{/privacy}","received_events_url":"https://api.github.com/users/anatoliy-sokolenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-08T18:51:30Z","updated_at":"2015-12-08T20:41:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/confluentinc/camus/pulls/31","html_url":"https://github.com/confluentinc/camus/pull/31","diff_url":"https://github.com/confluentinc/camus/pull/31.diff","patch_url":"https://github.com/confluentinc/camus/pull/31.patch"},"body":"Current 1.0.1 release has a major performance defect caused by excessive debug logging in [camus-kafka-coders/src/main/java/io/confluent/camus/etl/kafka/coders/AvroMessageDecoder.java#L113]:\r\n```\r\nlogger.debug(\"Schema = \" + schema.toString());\r\n```\r\n\r\nSchema is serialized each time new message arrives. However, as debug logging is disabled it is never printed to log.\r\n\r\nApplied fix showed up to 10x performance improvement.\r\n\r\nPR is submitted to 1.x-0.9.0.0 branch as it seem to be the most active for 1.x version."},"comment":{"url":"https://api.github.com/repos/confluentinc/camus/issues/comments/163011925","html_url":"https://github.com/confluentinc/camus/pull/31#issuecomment-163011925","issue_url":"https://api.github.com/repos/confluentinc/camus/issues/31","id":163011925,"user":{"login":"ConfluentCLABot","id":11638974,"avatar_url":"https://avatars.githubusercontent.com/u/11638974?v=3","gravatar_id":"","url":"https://api.github.com/users/ConfluentCLABot","html_url":"https://github.com/ConfluentCLABot","followers_url":"https://api.github.com/users/ConfluentCLABot/followers","following_url":"https://api.github.com/users/ConfluentCLABot/following{/other_user}","gists_url":"https://api.github.com/users/ConfluentCLABot/gists{/gist_id}","starred_url":"https://api.github.com/users/ConfluentCLABot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConfluentCLABot/subscriptions","organizations_url":"https://api.github.com/users/ConfluentCLABot/orgs","repos_url":"https://api.github.com/users/ConfluentCLABot/repos","events_url":"https://api.github.com/users/ConfluentCLABot/events{/privacy}","received_events_url":"https://api.github.com/users/ConfluentCLABot/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T20:41:27Z","updated_at":"2015-12-08T20:41:27Z","body":"It looks like @anatoliy-sokolenko hasn't signed our **C**ontributor **L**icense **A**greement, yet.\n\n\n\nAppreciation of efforts,\n\nclabot"}}