{"action":"opened","issue":{"url":"https://api.github.com/repos/utilitywarehouse/go-pubsub/issues/37","repository_url":"https://api.github.com/repos/utilitywarehouse/go-pubsub","labels_url":"https://api.github.com/repos/utilitywarehouse/go-pubsub/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/utilitywarehouse/go-pubsub/issues/37/comments","events_url":"https://api.github.com/repos/utilitywarehouse/go-pubsub/issues/37/events","html_url":"https://github.com/utilitywarehouse/go-pubsub/issues/37","id":299337304,"number":37,"title":"Offset for Natss message source","user":{"login":"rickyshrestha","id":11851216,"avatar_url":"https://avatars2.githubusercontent.com/u/11851216?v=4","gravatar_id":"","url":"https://api.github.com/users/rickyshrestha","html_url":"https://github.com/rickyshrestha","followers_url":"https://api.github.com/users/rickyshrestha/followers","following_url":"https://api.github.com/users/rickyshrestha/following{/other_user}","gists_url":"https://api.github.com/users/rickyshrestha/gists{/gist_id}","starred_url":"https://api.github.com/users/rickyshrestha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickyshrestha/subscriptions","organizations_url":"https://api.github.com/users/rickyshrestha/orgs","repos_url":"https://api.github.com/users/rickyshrestha/repos","events_url":"https://api.github.com/users/rickyshrestha/events{/privacy}","received_events_url":"https://api.github.com/users/rickyshrestha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-22T12:37:20Z","updated_at":"2018-02-22T12:37:20Z","closed_at":null,"author_association":"NONE","body":"Currently when a NATS consumer is created, the offset is set to deliver all msgs from the start. This is useful for some services but not for all. Eg. we have a consumer that keeps the metrics for all unicom components (and exposes to prom). \r\n\r\nWe want to be able set the offset so that we can receive the msgs from when the client service started instead of from the beginning of history.\r\n\r\nThe kafka consumer config already allows setting offset and the same functionality is required for nats consumers."}}
{"actor":{"display_login":"rickyshrestha"}}