{"action":"created","issue":{"url":"https://api.github.com/repos/edenhill/librdkafka/issues/503","repository_url":"https://api.github.com/repos/edenhill/librdkafka","labels_url":"https://api.github.com/repos/edenhill/librdkafka/issues/503/labels{/name}","comments_url":"https://api.github.com/repos/edenhill/librdkafka/issues/503/comments","events_url":"https://api.github.com/repos/edenhill/librdkafka/issues/503/events","html_url":"https://github.com/edenhill/librdkafka/issues/503","id":125679434,"number":503,"title":"API to query logical offset","user":{"login":"fsaintjacques","id":662469,"avatar_url":"https://avatars.githubusercontent.com/u/662469?v=3","gravatar_id":"","url":"https://api.github.com/users/fsaintjacques","html_url":"https://github.com/fsaintjacques","followers_url":"https://api.github.com/users/fsaintjacques/followers","following_url":"https://api.github.com/users/fsaintjacques/following{/other_user}","gists_url":"https://api.github.com/users/fsaintjacques/gists{/gist_id}","starred_url":"https://api.github.com/users/fsaintjacques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsaintjacques/subscriptions","organizations_url":"https://api.github.com/users/fsaintjacques/orgs","repos_url":"https://api.github.com/users/fsaintjacques/repos","events_url":"https://api.github.com/users/fsaintjacques/events{/privacy}","received_events_url":"https://api.github.com/users/fsaintjacques/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/edenhill/librdkafka/labels/consumer","name":"consumer","color":"009800"},{"url":"https://api.github.com/repos/edenhill/librdkafka/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/edenhill/librdkafka/milestones/7","html_url":"https://github.com/edenhill/librdkafka/milestones/0.9.1","labels_url":"https://api.github.com/repos/edenhill/librdkafka/milestones/7/labels","id":1276234,"number":7,"title":"0.9.1","description":"","creator":{"login":"edenhill","id":524990,"avatar_url":"https://avatars.githubusercontent.com/u/524990?v=3","gravatar_id":"","url":"https://api.github.com/users/edenhill","html_url":"https://github.com/edenhill","followers_url":"https://api.github.com/users/edenhill/followers","following_url":"https://api.github.com/users/edenhill/following{/other_user}","gists_url":"https://api.github.com/users/edenhill/gists{/gist_id}","starred_url":"https://api.github.com/users/edenhill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenhill/subscriptions","organizations_url":"https://api.github.com/users/edenhill/orgs","repos_url":"https://api.github.com/users/edenhill/repos","events_url":"https://api.github.com/users/edenhill/events{/privacy}","received_events_url":"https://api.github.com/users/edenhill/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":31,"state":"open","created_at":"2015-08-27T17:40:29Z","updated_at":"2016-03-09T16:26:54Z","due_on":"2016-03-13T23:00:00Z","closed_at":null},"comments":13,"created_at":"2016-01-08T19:41:51Z","updated_at":"2016-03-09T16:27:53Z","closed_at":null,"body":"It would be great to query for (beginning, end) offsets for given [(topic, partitions)] in a semi atomic way. The use case would be to extend `kafkacat` metadata query to also report on the offset intervals, e.g.\r\n\r\n```\r\n$ kafkacat -L -b mybroker\r\nMetadata for all topics (from broker 1: mybroker:9092/1):\r\n...\r\n  topic \"syslog\" with 3 partitions:\r\n    partition 0, leader 3, replicas: 1,2,3, isrs: 1,2,3, offsets: (beginning: 0, end: 4595)\r\n```"},"comment":{"url":"https://api.github.com/repos/edenhill/librdkafka/issues/comments/194377708","html_url":"https://github.com/edenhill/librdkafka/issues/503#issuecomment-194377708","issue_url":"https://api.github.com/repos/edenhill/librdkafka/issues/503","id":194377708,"user":{"login":"edenhill","id":524990,"avatar_url":"https://avatars.githubusercontent.com/u/524990?v=3","gravatar_id":"","url":"https://api.github.com/users/edenhill","html_url":"https://github.com/edenhill","followers_url":"https://api.github.com/users/edenhill/followers","following_url":"https://api.github.com/users/edenhill/following{/other_user}","gists_url":"https://api.github.com/users/edenhill/gists{/gist_id}","starred_url":"https://api.github.com/users/edenhill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenhill/subscriptions","organizations_url":"https://api.github.com/users/edenhill/orgs","repos_url":"https://api.github.com/users/edenhill/repos","events_url":"https://api.github.com/users/edenhill/events{/privacy}","received_events_url":"https://api.github.com/users/edenhill/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T16:27:53Z","updated_at":"2016-03-09T16:27:53Z","body":"get_offsets() is an ambigious name, needs something more specific, get_wmark_offsets() or similar."}}