{"action":"opened","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/issues/1469","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/1469/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/issues/1469/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/issues/1469/events","html_url":"https://github.com/spring-cloud/spring-cloud-stream/issues/1469","id":357991311,"node_id":"MDU6SXNzdWUzNTc5OTEzMTE=","number":1469,"title":"Avro: add support for multiple records definitions in one .avsc file.","user":{"login":"4shael","id":2963069,"node_id":"MDQ6VXNlcjI5NjMwNjk=","avatar_url":"https://avatars1.githubusercontent.com/u/2963069?v=4","gravatar_id":"","url":"https://api.github.com/users/4shael","html_url":"https://github.com/4shael","followers_url":"https://api.github.com/users/4shael/followers","following_url":"https://api.github.com/users/4shael/following{/other_user}","gists_url":"https://api.github.com/users/4shael/gists{/gist_id}","starred_url":"https://api.github.com/users/4shael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4shael/subscriptions","organizations_url":"https://api.github.com/users/4shael/orgs","repos_url":"https://api.github.com/users/4shael/repos","events_url":"https://api.github.com/users/4shael/events{/privacy}","received_events_url":"https://api.github.com/users/4shael/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-07T09:31:18Z","updated_at":"2018-09-07T09:31:18Z","closed_at":null,"author_association":"NONE","body":"Now AvroSchemaRegistryClientMessageConverter is failing, when trying to parse schema from .avsc with more then one record definition inside. Example:\r\n```javascript\r\n[\r\n  {\r\n    \"namespace\": \"com.example\",\r\n    \"type\": \"record\",\r\n    \"name\": \"Foo\",\r\n    \"fields\": [\r\n      {\r\n        \"name\": \"id\",\r\n        \"type\": \"string\"\r\n      }\r\n    ]\r\n  },\r\n  {\r\n    \"namespace\": \"com.example\",\r\n    \"type\": \"record\",\r\n    \"name\": \"Bar\",\r\n    \"fields\": [\r\n      {\r\n        \"name\": \"id\",\r\n        \"type\": \"string\"\r\n      },\r\n      {\r\n        \"name\": \"foo\",\r\n        \"type\": \"Foo\"\r\n      }\r\n    ]\r\n  }\r\n]\r\n```"}}
{"actor":{"display_login":"4shael"}}