{"action":"created","comment":{"url":"https://api.github.com/repos/allegro/hermes/pulls/comments/225429755","pull_request_review_id":165023116,"id":225429755,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTQyOTc1NQ==","diff_hunk":"@@ -2,7 +2,41 @@\n \n public enum TrackingMode {\n \n-    TRACK_ALL,\n-    TRACK_DISCARDED_ONLY,\n-    TRACKING_OFF\n+    TRACK_ALL(\"trackingAll\"),\n+    TRACK_DISCARDED_ONLY(\"discardedOnly\"),\n+    TRACKING_OFF(\"trackingOff\");\n+\n+    private String value;\n+\n+    TrackingMode(String s) {\n+        this.value = s;\n+    }\n+\n+    public String getValue() {\n+        return value;\n+    }\n+\n+    @Override\n+    public String toString() {\n+        return this.value;\n+    }\n+\n+    public static TrackingMode fromString(String trackingMode) {\n+\n+        if(trackingMode == null) {\n+            return null;\n+        }\n+\n+        switch(trackingMode){\n+            case \"trackingAll\":\n+                return TRACK_ALL;\n+            case \"discardedOnly\":\n+                return TRACK_DISCARDED_ONLY;\n+            case \"trackingOff\":","path":"hermes-api/src/main/java/pl/allegro/tech/hermes/api/TrackingMode.java","position":35,"original_position":37,"commit_id":"83e59592e4829f415e246019950f7fb9d7236788","original_commit_id":"02986948b1d0855dec927fc5777af2146e142052","user":{"login":"adididas122","id":19551086,"node_id":"MDQ6VXNlcjE5NTUxMDg2","avatar_url":"https://avatars2.githubusercontent.com/u/19551086?v=4","gravatar_id":"","url":"https://api.github.com/users/adididas122","html_url":"https://github.com/adididas122","followers_url":"https://api.github.com/users/adididas122/followers","following_url":"https://api.github.com/users/adididas122/following{/other_user}","gists_url":"https://api.github.com/users/adididas122/gists{/gist_id}","starred_url":"https://api.github.com/users/adididas122/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adididas122/subscriptions","organizations_url":"https://api.github.com/users/adididas122/orgs","repos_url":"https://api.github.com/users/adididas122/repos","events_url":"https://api.github.com/users/adididas122/events{/privacy}","received_events_url":"https://api.github.com/users/adididas122/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2018-10-16T07:45:54Z","updated_at":"2018-10-16T07:45:54Z","html_url":"https://github.com/allegro/hermes/pull/918#discussion_r225429755","pull_request_url":"https://api.github.com/repos/allegro/hermes/pulls/918","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/allegro/hermes/pulls/comments/225429755"},"html":{"href":"https://github.com/allegro/hermes/pull/918#discussion_r225429755"},"pull_request":{"href":"https://api.github.com/repos/allegro/hermes/pulls/918"}},"in_reply_to_id":225427266},"pull_request":{"url":"https://api.github.com/repos/allegro/hermes/pulls/918","id":220610236,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwNjEwMjM2","html_url":"https://github.com/allegro/hermes/pull/918","diff_url":"https://github.com/allegro/hermes/pull/918.diff","patch_url":"https://github.com/allegro/hermes/pull/918.patch","issue_url":"https://api.github.com/repos/allegro/hermes/issues/918","number":918,"state":"open","locked":false,"title":"Feature/trace only discarded messages","user":{"login":"adididas122","id":19551086,"node_id":"MDQ6VXNlcjE5NTUxMDg2","avatar_url":"https://avatars2.githubusercontent.com/u/19551086?v=4","gravatar_id":"","url":"https://api.github.com/users/adididas122","html_url":"https://github.com/adididas122","followers_url":"https://api.github.com/users/adididas122/followers","following_url":"https://api.github.com/users/adididas122/following{/other_user}","gists_url":"https://api.github.com/users/adididas122/gists{/gist_id}","starred_url":"https://api.github.com/users/adididas122/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adididas122/subscriptions","organizations_url":"https://api.github.com/users/adididas122/orgs","repos_url":"https://api.github.com/users/adididas122/repos","events_url":"https://api.github.com/users/adididas122/events{/privacy}","received_events_url":"https://api.github.com/users/adididas122/received_events","type":"User","site_admin":false},"body":"Added options to trace only **discarded** messages for subscription and **error** for topic","created_at":"2018-10-05T07:33:03Z","updated_at":"2018-10-16T07:45:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a608f9494b473c4f217c08e9be163afedbf2a6d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/allegro/hermes/pulls/918/commits","review_comments_url":"https://api.github.com/repos/allegro/hermes/pulls/918/comments","review_comment_url":"https://api.github.com/repos/allegro/hermes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/allegro/hermes/issues/918/comments","statuses_url":"https://api.github.com/repos/allegro/hermes/statuses/83e59592e4829f415e246019950f7fb9d7236788","head":{"label":"adididas122:feature/trace_only_discarded_messages","ref":"feature/trace_only_discarded_messages","sha":"83e59592e4829f415e246019950f7fb9d7236788","user":{"login":"adididas122","id":19551086,"node_id":"MDQ6VXNlcjE5NTUxMDg2","avatar_url":"https://avatars2.githubusercontent.com/u/19551086?v=4","gravatar_id":"","url":"https://api.github.com/users/adididas122","html_url":"https://github.com/adididas122","followers_url":"https://api.github.com/users/adididas122/followers","following_url":"https://api.github.com/users/adididas122/following{/other_user}","gists_url":"https://api.github.com/users/adididas122/gists{/gist_id}","starred_url":"https://api.github.com/users/adididas122/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adididas122/subscriptions","organizations_url":"https://api.github.com/users/adididas122/orgs","repos_url":"https://api.github.com/users/adididas122/repos","events_url":"https://api.github.com/users/adididas122/events{/privacy}","received_events_url":"https://api.github.com/users/adididas122/received_events","type":"User","site_admin":false},"repo":{"id":151557998,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE1NTc5OTg=","name":"hermes","full_name":"adididas122/hermes","private":false,"owner":{"login":"adididas122","id":19551086,"node_id":"MDQ6VXNlcjE5NTUxMDg2","avatar_url":"https://avatars2.githubusercontent.com/u/19551086?v=4","gravatar_id":"","url":"https://api.github.com/users/adididas122","html_url":"https://github.com/adididas122","followers_url":"https://api.github.com/users/adididas122/followers","following_url":"https://api.github.com/users/adididas122/following{/other_user}","gists_url":"https://api.github.com/users/adididas122/gists{/gist_id}","starred_url":"https://api.github.com/users/adididas122/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adididas122/subscriptions","organizations_url":"https://api.github.com/users/adididas122/orgs","repos_url":"https://api.github.com/users/adididas122/repos","events_url":"https://api.github.com/users/adididas122/events{/privacy}","received_events_url":"https://api.github.com/users/adididas122/received_events","type":"User","site_admin":false},"html_url":"https://github.com/adididas122/hermes","description":"Fast and reliable message broker built on top of Kafka.","fork":true,"url":"https://api.github.com/repos/adididas122/hermes","forks_url":"https://api.github.com/repos/adididas122/hermes/forks","keys_url":"https://api.github.com/repos/adididas122/hermes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adididas122/hermes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adididas122/hermes/teams","hooks_url":"https://api.github.com/repos/adididas122/hermes/hooks","issue_events_url":"https://api.github.com/repos/adididas122/hermes/issues/events{/number}","events_url":"https://api.github.com/repos/adididas122/hermes/events","assignees_url":"https://api.github.com/repos/adididas122/hermes/assignees{/user}","branches_url":"https://api.github.com/repos/adididas122/hermes/branches{/branch}","tags_url":"https://api.github.com/repos/adididas122/hermes/tags","blobs_url":"https://api.github.com/repos/adididas122/hermes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adididas122/hermes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adididas122/hermes/git/refs{/sha}","trees_url":"https://api.github.com/repos/adididas122/hermes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adididas122/hermes/statuses/{sha}","languages_url":"https://api.github.com/repos/adididas122/hermes/languages","stargazers_url":"https://api.github.com/repos/adididas122/hermes/stargazers","contributors_url":"https://api.github.com/repos/adididas122/hermes/contributors","subscribers_url":"https://api.github.com/repos/adididas122/hermes/subscribers","subscription_url":"https://api.github.com/repos/adididas122/hermes/subscription","commits_url":"https://api.github.com/repos/adididas122/hermes/commits{/sha}","git_commits_url":"https://api.github.com/repos/adididas122/hermes/git/commits{/sha}","comments_url":"https://api.github.com/repos/adididas122/hermes/comments{/number}","issue_comment_url":"https://api.github.com/repos/adididas122/hermes/issues/comments{/number}","contents_url":"https://api.github.com/repos/adididas122/hermes/contents/{+path}","compare_url":"https://api.github.com/repos/adididas122/hermes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adididas122/hermes/merges","archive_url":"https://api.github.com/repos/adididas122/hermes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adididas122/hermes/downloads","issues_url":"https://api.github.com/repos/adididas122/hermes/issues{/number}","pulls_url":"https://api.github.com/repos/adididas122/hermes/pulls{/number}","milestones_url":"https://api.github.com/repos/adididas122/hermes/milestones{/number}","notifications_url":"https://api.github.com/repos/adididas122/hermes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adididas122/hermes/labels{/name}","releases_url":"https://api.github.com/repos/adididas122/hermes/releases{/id}","deployments_url":"https://api.github.com/repos/adididas122/hermes/deployments","created_at":"2018-10-04T10:59:06Z","updated_at":"2018-10-04T10:59:10Z","pushed_at":"2018-10-16T07:29:51Z","git_url":"git://github.com/adididas122/hermes.git","ssh_url":"git@github.com:adididas122/hermes.git","clone_url":"https://github.com/adididas122/hermes.git","svn_url":"https://github.com/adididas122/hermes","homepage":"http://hermes.allegro.tech","size":6273,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"allegro:master","ref":"master","sha":"319ba7bf8721fb88eda74f8512d8454f4870b16d","user":{"login":"allegro","id":562236,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2MjIzNg==","avatar_url":"https://avatars3.githubusercontent.com/u/562236?v=4","gravatar_id":"","url":"https://api.github.com/users/allegro","html_url":"https://github.com/allegro","followers_url":"https://api.github.com/users/allegro/followers","following_url":"https://api.github.com/users/allegro/following{/other_user}","gists_url":"https://api.github.com/users/allegro/gists{/gist_id}","starred_url":"https://api.github.com/users/allegro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allegro/subscriptions","organizations_url":"https://api.github.com/users/allegro/orgs","repos_url":"https://api.github.com/users/allegro/repos","events_url":"https://api.github.com/users/allegro/events{/privacy}","received_events_url":"https://api.github.com/users/allegro/received_events","type":"Organization","site_admin":false},"repo":{"id":35662043,"node_id":"MDEwOlJlcG9zaXRvcnkzNTY2MjA0Mw==","name":"hermes","full_name":"allegro/hermes","private":false,"owner":{"login":"allegro","id":562236,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2MjIzNg==","avatar_url":"https://avatars3.githubusercontent.com/u/562236?v=4","gravatar_id":"","url":"https://api.github.com/users/allegro","html_url":"https://github.com/allegro","followers_url":"https://api.github.com/users/allegro/followers","following_url":"https://api.github.com/users/allegro/following{/other_user}","gists_url":"https://api.github.com/users/allegro/gists{/gist_id}","starred_url":"https://api.github.com/users/allegro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allegro/subscriptions","organizations_url":"https://api.github.com/users/allegro/orgs","repos_url":"https://api.github.com/users/allegro/repos","events_url":"https://api.github.com/users/allegro/events{/privacy}","received_events_url":"https://api.github.com/users/allegro/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/allegro/hermes","description":"Fast and reliable message broker built on top of Kafka.","fork":false,"url":"https://api.github.com/repos/allegro/hermes","forks_url":"https://api.github.com/repos/allegro/hermes/forks","keys_url":"https://api.github.com/repos/allegro/hermes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allegro/hermes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allegro/hermes/teams","hooks_url":"https://api.github.com/repos/allegro/hermes/hooks","issue_events_url":"https://api.github.com/repos/allegro/hermes/issues/events{/number}","events_url":"https://api.github.com/repos/allegro/hermes/events","assignees_url":"https://api.github.com/repos/allegro/hermes/assignees{/user}","branches_url":"https://api.github.com/repos/allegro/hermes/branches{/branch}","tags_url":"https://api.github.com/repos/allegro/hermes/tags","blobs_url":"https://api.github.com/repos/allegro/hermes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allegro/hermes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allegro/hermes/git/refs{/sha}","trees_url":"https://api.github.com/repos/allegro/hermes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allegro/hermes/statuses/{sha}","languages_url":"https://api.github.com/repos/allegro/hermes/languages","stargazers_url":"https://api.github.com/repos/allegro/hermes/stargazers","contributors_url":"https://api.github.com/repos/allegro/hermes/contributors","subscribers_url":"https://api.github.com/repos/allegro/hermes/subscribers","subscription_url":"https://api.github.com/repos/allegro/hermes/subscription","commits_url":"https://api.github.com/repos/allegro/hermes/commits{/sha}","git_commits_url":"https://api.github.com/repos/allegro/hermes/git/commits{/sha}","comments_url":"https://api.github.com/repos/allegro/hermes/comments{/number}","issue_comment_url":"https://api.github.com/repos/allegro/hermes/issues/comments{/number}","contents_url":"https://api.github.com/repos/allegro/hermes/contents/{+path}","compare_url":"https://api.github.com/repos/allegro/hermes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allegro/hermes/merges","archive_url":"https://api.github.com/repos/allegro/hermes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allegro/hermes/downloads","issues_url":"https://api.github.com/repos/allegro/hermes/issues{/number}","pulls_url":"https://api.github.com/repos/allegro/hermes/pulls{/number}","milestones_url":"https://api.github.com/repos/allegro/hermes/milestones{/number}","notifications_url":"https://api.github.com/repos/allegro/hermes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allegro/hermes/labels{/name}","releases_url":"https://api.github.com/repos/allegro/hermes/releases{/id}","deployments_url":"https://api.github.com/repos/allegro/hermes/deployments","created_at":"2015-05-15T08:11:16Z","updated_at":"2018-10-16T02:41:38Z","pushed_at":"2018-10-16T07:29:54Z","git_url":"git://github.com/allegro/hermes.git","ssh_url":"git@github.com:allegro/hermes.git","clone_url":"https://github.com/allegro/hermes.git","svn_url":"https://github.com/allegro/hermes","homepage":"http://hermes.allegro.tech","size":6317,"stargazers_count":379,"watchers_count":379,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":87,"mirror_url":null,"archived":false,"open_issues_count":69,"license":null,"forks":87,"open_issues":69,"watchers":379,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/allegro/hermes/pulls/918"},"html":{"href":"https://github.com/allegro/hermes/pull/918"},"issue":{"href":"https://api.github.com/repos/allegro/hermes/issues/918"},"comments":{"href":"https://api.github.com/repos/allegro/hermes/issues/918/comments"},"review_comments":{"href":"https://api.github.com/repos/allegro/hermes/pulls/918/comments"},"review_comment":{"href":"https://api.github.com/repos/allegro/hermes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/allegro/hermes/pulls/918/commits"},"statuses":{"href":"https://api.github.com/repos/allegro/hermes/statuses/83e59592e4829f415e246019950f7fb9d7236788"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"adididas122"}}