{"action":"created","issue":{"url":"https://api.github.com/repos/confluentinc/confluent-kafka-dotnet/issues/1039","repository_url":"https://api.github.com/repos/confluentinc/confluent-kafka-dotnet","labels_url":"https://api.github.com/repos/confluentinc/confluent-kafka-dotnet/issues/1039/labels{/name}","comments_url":"https://api.github.com/repos/confluentinc/confluent-kafka-dotnet/issues/1039/comments","events_url":"https://api.github.com/repos/confluentinc/confluent-kafka-dotnet/issues/1039/events","html_url":"https://github.com/confluentinc/confluent-kafka-dotnet/issues/1039","id":485716375,"node_id":"MDU6SXNzdWU0ODU3MTYzNzU=","number":1039,"title":"ISerializer interface is not gc friendly","user":{"login":"fofewyoung","id":22018091,"node_id":"MDQ6VXNlcjIyMDE4MDkx","avatar_url":"https://avatars0.githubusercontent.com/u/22018091?v=4","gravatar_id":"","url":"https://api.github.com/users/fofewyoung","html_url":"https://github.com/fofewyoung","followers_url":"https://api.github.com/users/fofewyoung/followers","following_url":"https://api.github.com/users/fofewyoung/following{/other_user}","gists_url":"https://api.github.com/users/fofewyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/fofewyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fofewyoung/subscriptions","organizations_url":"https://api.github.com/users/fofewyoung/orgs","repos_url":"https://api.github.com/users/fofewyoung/repos","events_url":"https://api.github.com/users/fofewyoung/events{/privacy}","received_events_url":"https://api.github.com/users/fofewyoung/received_events","type":"User","site_admin":false},"labels":[{"id":1016649366,"node_id":"MDU6TGFiZWwxMDE2NjQ5MzY2","url":"https://api.github.com/repos/confluentinc/confluent-kafka-dotnet/labels/LOW","name":"LOW","color":"eeeeee","default":false,"description":""},{"id":473160564,"node_id":"MDU6TGFiZWw0NzMxNjA1NjQ=","url":"https://api.github.com/repos/confluentinc/confluent-kafka-dotnet/labels/enhancement","name":"enhancement","color":"84b6eb","default":true,"description":null}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-08-27T10:09:46Z","updated_at":"2019-12-11T21:47:50Z","closed_at":null,"author_association":"NONE","body":"Description\r\n===========\r\nbyte[] Serialize(T data, SerializationContext context);\r\n\r\nin my program, i use a  shared buffer to avoid alloc memory when Serialize,\r\ni expect the interface :\r\n`ArraySegment<byte> Serialize(T data, SerializationContext context);`\r\n\r\n`ArraySegment<byte>` has its own buffer-length;\r\n\r\n\r\nHow to reproduce\r\n================\r\n\r\n\r\n\r\n\r\nChecklist\r\n=========\r\n\r\nPlease provide the following information:\r\n - [ ] A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.\r\n - [ ] Confluent.Kafka nuget version.\r\n - [ ] Apache Kafka version.\r\n - [ ] Client configuration.\r\n - [ ] Operating system.\r\n - [ ] Provide logs (with \"debug\" : \"...\" as necessary in configuration).\r\n - [ ] Provide broker log excerpts.\r\n - [ ] Critical issue.\r\n"},"comment":{"url":"https://api.github.com/repos/confluentinc/confluent-kafka-dotnet/issues/comments/564748088","html_url":"https://github.com/confluentinc/confluent-kafka-dotnet/issues/1039#issuecomment-564748088","issue_url":"https://api.github.com/repos/confluentinc/confluent-kafka-dotnet/issues/1039","id":564748088,"node_id":"MDEyOklzc3VlQ29tbWVudDU2NDc0ODA4OA==","user":{"login":"Jensaarai","id":4024510,"node_id":"MDQ6VXNlcjQwMjQ1MTA=","avatar_url":"https://avatars3.githubusercontent.com/u/4024510?v=4","gravatar_id":"","url":"https://api.github.com/users/Jensaarai","html_url":"https://github.com/Jensaarai","followers_url":"https://api.github.com/users/Jensaarai/followers","following_url":"https://api.github.com/users/Jensaarai/following{/other_user}","gists_url":"https://api.github.com/users/Jensaarai/gists{/gist_id}","starred_url":"https://api.github.com/users/Jensaarai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jensaarai/subscriptions","organizations_url":"https://api.github.com/users/Jensaarai/orgs","repos_url":"https://api.github.com/users/Jensaarai/repos","events_url":"https://api.github.com/users/Jensaarai/events{/privacy}","received_events_url":"https://api.github.com/users/Jensaarai/received_events","type":"User","site_admin":false},"created_at":"2019-12-11T21:47:50Z","updated_at":"2019-12-11T21:47:50Z","author_association":"NONE","body":"I also expected Serialize to return an `ArraySegment<byte>` to allow pooling of the underlying `byte[]`s...this seems like it would be a welcome change!"}}
{"actor":{"display_login":"Jensaarai"}}