{"action":"created","issue":{"url":"https://api.github.com/repos/SOHU-Co/kafka-node/issues/213","repository_url":"https://api.github.com/repos/SOHU-Co/kafka-node","labels_url":"https://api.github.com/repos/SOHU-Co/kafka-node/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/SOHU-Co/kafka-node/issues/213/comments","events_url":"https://api.github.com/repos/SOHU-Co/kafka-node/issues/213/events","html_url":"https://github.com/SOHU-Co/kafka-node/issues/213","id":88684092,"number":213,"title":"what is \"autoCommit\" property when regist new consumer?","user":{"login":"wizali","id":5663201,"avatar_url":"https://avatars.githubusercontent.com/u/5663201?v=3","gravatar_id":"","url":"https://api.github.com/users/wizali","html_url":"https://github.com/wizali","followers_url":"https://api.github.com/users/wizali/followers","following_url":"https://api.github.com/users/wizali/following{/other_user}","gists_url":"https://api.github.com/users/wizali/gists{/gist_id}","starred_url":"https://api.github.com/users/wizali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wizali/subscriptions","organizations_url":"https://api.github.com/users/wizali/orgs","repos_url":"https://api.github.com/users/wizali/repos","events_url":"https://api.github.com/users/wizali/events{/privacy}","received_events_url":"https://api.github.com/users/wizali/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-16T10:16:14Z","updated_at":"2016-06-23T01:56:26Z","closed_at":null,"body":"```javascript\r\n{\r\n    groupId: 'kafka-node-group',//consumer group id, deafult `kafka-node-group`\r\n    // Auto commit config\r\n    autoCommit: true,\r\n    autoCommitIntervalMs: 5000,\r\n    // The max wait time is the maximum amount of time in milliseconds to block waiting if insufficient data is available at the time the request is issued, default 100ms\r\n    fetchMaxWaitMs: 100,\r\n    // This is the minimum number of bytes of messages that must be available to give a response, default 1 byte\r\n    fetchMinBytes: 1,\r\n    // The maximum bytes to include in the message set for this partition. This helps bound the size of the response.\r\n    fetchMaxBytes: 1024 * 10,\r\n    // If set true, consumer will fetch message from the given offset in the payloads\r\n    fromOffset: false,\r\n    // If set to 'buffer', values will be returned as raw buffer objects.\r\n    encoding: 'utf8'\r\n}\r\n\r\nwhat is use of autoCommit property?"},"comment":{"url":"https://api.github.com/repos/SOHU-Co/kafka-node/issues/comments/227929286","html_url":"https://github.com/SOHU-Co/kafka-node/issues/213#issuecomment-227929286","issue_url":"https://api.github.com/repos/SOHU-Co/kafka-node/issues/213","id":227929286,"user":{"login":"iamcc","id":3839373,"avatar_url":"https://avatars.githubusercontent.com/u/3839373?v=3","gravatar_id":"","url":"https://api.github.com/users/iamcc","html_url":"https://github.com/iamcc","followers_url":"https://api.github.com/users/iamcc/followers","following_url":"https://api.github.com/users/iamcc/following{/other_user}","gists_url":"https://api.github.com/users/iamcc/gists{/gist_id}","starred_url":"https://api.github.com/users/iamcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamcc/subscriptions","organizations_url":"https://api.github.com/users/iamcc/orgs","repos_url":"https://api.github.com/users/iamcc/repos","events_url":"https://api.github.com/users/iamcc/events{/privacy}","received_events_url":"https://api.github.com/users/iamcc/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T01:56:26Z","updated_at":"2016-06-23T01:56:26Z","body":"@haio 如果我维护了一份内存队列，但是我在处理过程中服务器崩溃了，这时我又还没commit已经处理过得任务，这种情况怎么处理好？"}}
{"actor":{"display_login":"iamcc"}}