{"action":"opened","issue":{"url":"https://api.github.com/repos/mfontanini/cppkafka/issues/76","repository_url":"https://api.github.com/repos/mfontanini/cppkafka","labels_url":"https://api.github.com/repos/mfontanini/cppkafka/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/mfontanini/cppkafka/issues/76/comments","events_url":"https://api.github.com/repos/mfontanini/cppkafka/issues/76/events","html_url":"https://github.com/mfontanini/cppkafka/issues/76","id":327628619,"number":76,"title":"auto.offset.reset=latest not working","user":{"login":"fmvin","id":1843421,"avatar_url":"https://avatars0.githubusercontent.com/u/1843421?v=4","gravatar_id":"","url":"https://api.github.com/users/fmvin","html_url":"https://github.com/fmvin","followers_url":"https://api.github.com/users/fmvin/followers","following_url":"https://api.github.com/users/fmvin/following{/other_user}","gists_url":"https://api.github.com/users/fmvin/gists{/gist_id}","starred_url":"https://api.github.com/users/fmvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmvin/subscriptions","organizations_url":"https://api.github.com/users/fmvin/orgs","repos_url":"https://api.github.com/users/fmvin/repos","events_url":"https://api.github.com/users/fmvin/events{/privacy}","received_events_url":"https://api.github.com/users/fmvin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-30T08:36:55Z","updated_at":"2018-05-30T08:36:55Z","closed_at":null,"author_association":"NONE","body":"Trying to consume only the messages that produced after consumer starts. For testing I added in `examples/kafka_consumer_dispatcher.cpp` explicit configuration for `auto.offset.reset` before creating of consumer:\r\n```\r\nTopicConfiguration topic_config = {\r\n      {\"auto.offset.reset\", \"latest\"},\r\n      {\"auto.commit.interval.ms\", \"1000\"},\r\n    };\r\n    config.set_default_topic_configuration(topic_config);\r\n```\r\nStart the producer and produce some messages:\r\n```\r\n./kafka_producer -b localhost -t mss -p 0\r\n```\r\nNext start the consumer and received all messages (I expect to get **no messages**). \r\n```\r\n./kafka_consumer_dispatcher -b localhost -t mss -g 0\r\n```\r\nThis issue related to:\r\n1. https://github.com/mfontanini/cppkafka/issues/1"}}
{"actor":{"display_login":"fmvin"}}