{"action":"created","issue":{"url":"https://api.github.com/repos/confluentinc/schema-registry/issues/265","labels_url":"https://api.github.com/repos/confluentinc/schema-registry/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/confluentinc/schema-registry/issues/265/comments","events_url":"https://api.github.com/repos/confluentinc/schema-registry/issues/265/events","html_url":"https://github.com/confluentinc/schema-registry/issues/265","id":121301390,"number":265,"title":"Why does KafkaAvroDeserializerConfig.SPECIFIC_AVRO_READER_CONFIG not default to true?","user":{"login":"devinrsmith","id":6764691,"avatar_url":"https://avatars.githubusercontent.com/u/6764691?v=3","gravatar_id":"","url":"https://api.github.com/users/devinrsmith","html_url":"https://github.com/devinrsmith","followers_url":"https://api.github.com/users/devinrsmith/followers","following_url":"https://api.github.com/users/devinrsmith/following{/other_user}","gists_url":"https://api.github.com/users/devinrsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/devinrsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devinrsmith/subscriptions","organizations_url":"https://api.github.com/users/devinrsmith/orgs","repos_url":"https://api.github.com/users/devinrsmith/repos","events_url":"https://api.github.com/users/devinrsmith/events{/privacy}","received_events_url":"https://api.github.com/users/devinrsmith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-09T17:46:45Z","updated_at":"2015-12-09T18:04:54Z","closed_at":null,"body":"Why does KafkaAvroDeserializerConfig.SPECIFIC_AVRO_READER_CONFIG not default to true?\r\n\r\nIt took me a while to figure out why my deserializers weren't working, as they were throwing this error:\r\n\r\n`Exception in thread \"main\" java.lang.ClassCastException: org.apache.avro.generic.GenericData$Record cannot be cast to com.example.api.core.data.InterestRecord`\r\n\r\nAt the very least, I think the documentation for the consumers needs to be much clearer and show examples using the new style consumer:\r\n\r\nhttp://docs.confluent.io/2.0.0/schema-registry/docs/serializer-formatter.html#serializer-and-formatter"},"comment":{"url":"https://api.github.com/repos/confluentinc/schema-registry/issues/comments/163342367","html_url":"https://github.com/confluentinc/schema-registry/issues/265#issuecomment-163342367","issue_url":"https://api.github.com/repos/confluentinc/schema-registry/issues/265","id":163342367,"user":{"login":"ewencp","id":47366,"avatar_url":"https://avatars.githubusercontent.com/u/47366?v=3","gravatar_id":"","url":"https://api.github.com/users/ewencp","html_url":"https://github.com/ewencp","followers_url":"https://api.github.com/users/ewencp/followers","following_url":"https://api.github.com/users/ewencp/following{/other_user}","gists_url":"https://api.github.com/users/ewencp/gists{/gist_id}","starred_url":"https://api.github.com/users/ewencp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewencp/subscriptions","organizations_url":"https://api.github.com/users/ewencp/orgs","repos_url":"https://api.github.com/users/ewencp/repos","events_url":"https://api.github.com/users/ewencp/events{/privacy}","received_events_url":"https://api.github.com/users/ewencp/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T18:04:54Z","updated_at":"2015-12-09T18:04:54Z","body":"@devinrsmith That option is new in the newest release. In order to remain backwards compatible, the setting cannot default to true.\r\n\r\nRegarding documentation, agreed that this should include details for the new consumer too."}}