{"action":"opened","number":54,"pull_request":{"url":"https://api.github.com/repos/checkr/flagr/pulls/54","id":148540685,"html_url":"https://github.com/checkr/flagr/pull/54","diff_url":"https://github.com/checkr/flagr/pull/54.diff","patch_url":"https://github.com/checkr/flagr/pull/54.patch","issue_url":"https://api.github.com/repos/checkr/flagr/issues/54","number":54,"state":"open","locked":false,"title":"Make data records optional with the kafka message frame schema","user":{"login":"zhouzhuojie","id":658840,"avatar_url":"https://avatars3.githubusercontent.com/u/658840?v=4","gravatar_id":"","url":"https://api.github.com/users/zhouzhuojie","html_url":"https://github.com/zhouzhuojie","followers_url":"https://api.github.com/users/zhouzhuojie/followers","following_url":"https://api.github.com/users/zhouzhuojie/following{/other_user}","gists_url":"https://api.github.com/users/zhouzhuojie/gists{/gist_id}","starred_url":"https://api.github.com/users/zhouzhuojie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhouzhuojie/subscriptions","organizations_url":"https://api.github.com/users/zhouzhuojie/orgs","repos_url":"https://api.github.com/users/zhouzhuojie/repos","events_url":"https://api.github.com/users/zhouzhuojie/events{/privacy}","received_events_url":"https://api.github.com/users/zhouzhuojie/received_events","type":"User","site_admin":false},"body":"Make data records optional and adopt the kafkaMessageFrame schema.\r\n\r\nnon-encrypted\r\n```\r\n{\r\n  \"payload\": \"{\\\"evalContext\\\":{\\\"enableDebug\\\":true,\\\"entityContext\\\":{\\\"state\\\":\\\"NY\\\"},\\\"entityID\\\":\\\"127\\\",\\\"entityType\\\":\\\"user\\\",\\\"flagID\\\":2},\\\"evalDebugLog\\\":{\\\"segmentDebugLogs\\\":[{\\\"msg\\\":\\\"constraint not match. constraint: state == \\\\\\\"CA\\\\\\\", entity_context: map[state:NY].\\\",\\\"segmentID\\\":2},{\\\"msg\\\":\\\"matched all constraints. rollout yes. {BucketNum:807 DistributionArray:{VariantIDs:[4 7] PercentsAccumulated:[500 1000]} VariantID:7 RolloutPercent:100}\\\",\\\"segmentID\\\":3}]},\\\"flagID\\\":2,\\\"segmentID\\\":3,\\\"timestamp\\\":\\\"2017-10-24T23:50:52Z\\\",\\\"variantAttachment\\\":{\\\"color\\\":\\\"dark-red\\\"},\\\"variantID\\\":7,\\\"variantKey\\\":\\\"red\\\"}\",\r\n  \"encrypted\": false\r\n}\r\n```\r\n\r\nencrypted\r\n```\r\n{\r\n  \"payload\": \"ngGdkmtCKZO/ebZ+cdWX+IhbdSvl75ElX2NpXSb9mi9VSKZ/MDK+JhqnAOV+xyeDw9agUF9b9dPpnRlmIjR+4itBR9EvN+gJbRrkjwDJlvH0LRkl5FPz3TwRhQxCKRl7ka+MrmBiAzC5X3WWi9Gou1bNfKkSILIGn2jNt2UjZe1Rm+Zd9Zr7C+QzJ5FvKKkAxNcPvOlvZghGHAhCx1qvK+rBzMA/GaeUvq7CQzVrQqm7koLmkMItwPQCrYgZiHmU8umlHX9AFW0uKDfTbYxQKOQLGqKE0naI6XZmOof+aRc2AB39zrJagR+hYu2+mgUDGgKf0Af6Iakx9v61TLn0mUIq++0t+E0GHLcHDfl7535TYdmPJKO90JN4qAnWBvoMyp76UO1om09X6/b5bSyfCFl/+YcsXvPnjSnB7u091nyvOG+cpWwaqpYd9eWhjXb0wDJM1sbE4AoNVRQcJBDgg/Tuvb0MedjEoBkvp+hhSENQLs1Bq0U7d2nRdIL+IKcz0BPuniiyAuCC+cf6YCFdD5og92c8Oe6gFPsoji4UNUzo4RkGrsnAxam4MYASTT11BWOQD2auOtlumEWINd82q3DE4tpMASJmdfoDmvoC2MyNGG3ASfrbN2+vbW5eh/RPDgmlSVc4Q9w3OyjSIb9kxP6pIXc4ZDlXe3HYh+jbPBl3rAF7IEAgxsFgCQW9IVGMzmwkDKRRz0okqI4q125QDCFkHQG+/AJdr7Si0NyZKeqAsoLT3sDdhd3V78/YFa4w7RcXKt2kdYUdCapu/pOm4lbwHgogYShuNpjTwfbYJZR9Uw==\",\r\n  \"encrypted\": true\r\n}\r\n```","created_at":"2017-10-24T23:55:39Z","updated_at":"2017-10-24T23:55:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/checkr/flagr/pulls/54/commits","review_comments_url":"https://api.github.com/repos/checkr/flagr/pulls/54/comments","review_comment_url":"https://api.github.com/repos/checkr/flagr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/checkr/flagr/issues/54/comments","statuses_url":"https://api.github.com/repos/checkr/flagr/statuses/e5bd6aabbd5f4d4447729daee4d6e7db9c822deb","head":{"label":"checkr:zz/add-enable-kafka-logging-toggle","ref":"zz/add-enable-kafka-logging-toggle","sha":"e5bd6aabbd5f4d4447729daee4d6e7db9c822deb","user":{"login":"checkr","id":6647745,"avatar_url":"https://avatars2.githubusercontent.com/u/6647745?v=4","gravatar_id":"","url":"https://api.github.com/users/checkr","html_url":"https://github.com/checkr","followers_url":"https://api.github.com/users/checkr/followers","following_url":"https://api.github.com/users/checkr/following{/other_user}","gists_url":"https://api.github.com/users/checkr/gists{/gist_id}","starred_url":"https://api.github.com/users/checkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/checkr/subscriptions","organizations_url":"https://api.github.com/users/checkr/orgs","repos_url":"https://api.github.com/users/checkr/repos","events_url":"https://api.github.com/users/checkr/events{/privacy}","received_events_url":"https://api.github.com/users/checkr/received_events","type":"Organization","site_admin":false},"repo":{"id":105691816,"name":"flagr","full_name":"checkr/flagr","owner":{"login":"checkr","id":6647745,"avatar_url":"https://avatars2.githubusercontent.com/u/6647745?v=4","gravatar_id":"","url":"https://api.github.com/users/checkr","html_url":"https://github.com/checkr","followers_url":"https://api.github.com/users/checkr/followers","following_url":"https://api.github.com/users/checkr/following{/other_user}","gists_url":"https://api.github.com/users/checkr/gists{/gist_id}","starred_url":"https://api.github.com/users/checkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/checkr/subscriptions","organizations_url":"https://api.github.com/users/checkr/orgs","repos_url":"https://api.github.com/users/checkr/repos","events_url":"https://api.github.com/users/checkr/events{/privacy}","received_events_url":"https://api.github.com/users/checkr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/checkr/flagr","description":"[Alpha] Flagr is a feature flagging, A/B testing and dynamic configuration microservice","fork":false,"url":"https://api.github.com/repos/checkr/flagr","forks_url":"https://api.github.com/repos/checkr/flagr/forks","keys_url":"https://api.github.com/repos/checkr/flagr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/checkr/flagr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/checkr/flagr/teams","hooks_url":"https://api.github.com/repos/checkr/flagr/hooks","issue_events_url":"https://api.github.com/repos/checkr/flagr/issues/events{/number}","events_url":"https://api.github.com/repos/checkr/flagr/events","assignees_url":"https://api.github.com/repos/checkr/flagr/assignees{/user}","branches_url":"https://api.github.com/repos/checkr/flagr/branches{/branch}","tags_url":"https://api.github.com/repos/checkr/flagr/tags","blobs_url":"https://api.github.com/repos/checkr/flagr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/checkr/flagr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/checkr/flagr/git/refs{/sha}","trees_url":"https://api.github.com/repos/checkr/flagr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/checkr/flagr/statuses/{sha}","languages_url":"https://api.github.com/repos/checkr/flagr/languages","stargazers_url":"https://api.github.com/repos/checkr/flagr/stargazers","contributors_url":"https://api.github.com/repos/checkr/flagr/contributors","subscribers_url":"https://api.github.com/repos/checkr/flagr/subscribers","subscription_url":"https://api.github.com/repos/checkr/flagr/subscription","commits_url":"https://api.github.com/repos/checkr/flagr/commits{/sha}","git_commits_url":"https://api.github.com/repos/checkr/flagr/git/commits{/sha}","comments_url":"https://api.github.com/repos/checkr/flagr/comments{/number}","issue_comment_url":"https://api.github.com/repos/checkr/flagr/issues/comments{/number}","contents_url":"https://api.github.com/repos/checkr/flagr/contents/{+path}","compare_url":"https://api.github.com/repos/checkr/flagr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/checkr/flagr/merges","archive_url":"https://api.github.com/repos/checkr/flagr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/checkr/flagr/downloads","issues_url":"https://api.github.com/repos/checkr/flagr/issues{/number}","pulls_url":"https://api.github.com/repos/checkr/flagr/pulls{/number}","milestones_url":"https://api.github.com/repos/checkr/flagr/milestones{/number}","notifications_url":"https://api.github.com/repos/checkr/flagr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/checkr/flagr/labels{/name}","releases_url":"https://api.github.com/repos/checkr/flagr/releases{/id}","deployments_url":"https://api.github.com/repos/checkr/flagr/deployments","created_at":"2017-10-03T19:07:32Z","updated_at":"2017-10-10T17:53:21Z","pushed_at":"2017-10-24T23:52:15Z","git_url":"git://github.com/checkr/flagr.git","ssh_url":"git@github.com:checkr/flagr.git","clone_url":"https://github.com/checkr/flagr.git","svn_url":"https://github.com/checkr/flagr","homepage":"","size":25182,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"checkr:master","ref":"master","sha":"507b062468c1b7e9bf4dfdf1b8a9b74c187c90df","user":{"login":"checkr","id":6647745,"avatar_url":"https://avatars2.githubusercontent.com/u/6647745?v=4","gravatar_id":"","url":"https://api.github.com/users/checkr","html_url":"https://github.com/checkr","followers_url":"https://api.github.com/users/checkr/followers","following_url":"https://api.github.com/users/checkr/following{/other_user}","gists_url":"https://api.github.com/users/checkr/gists{/gist_id}","starred_url":"https://api.github.com/users/checkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/checkr/subscriptions","organizations_url":"https://api.github.com/users/checkr/orgs","repos_url":"https://api.github.com/users/checkr/repos","events_url":"https://api.github.com/users/checkr/events{/privacy}","received_events_url":"https://api.github.com/users/checkr/received_events","type":"Organization","site_admin":false},"repo":{"id":105691816,"name":"flagr","full_name":"checkr/flagr","owner":{"login":"checkr","id":6647745,"avatar_url":"https://avatars2.githubusercontent.com/u/6647745?v=4","gravatar_id":"","url":"https://api.github.com/users/checkr","html_url":"https://github.com/checkr","followers_url":"https://api.github.com/users/checkr/followers","following_url":"https://api.github.com/users/checkr/following{/other_user}","gists_url":"https://api.github.com/users/checkr/gists{/gist_id}","starred_url":"https://api.github.com/users/checkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/checkr/subscriptions","organizations_url":"https://api.github.com/users/checkr/orgs","repos_url":"https://api.github.com/users/checkr/repos","events_url":"https://api.github.com/users/checkr/events{/privacy}","received_events_url":"https://api.github.com/users/checkr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/checkr/flagr","description":"[Alpha] Flagr is a feature flagging, A/B testing and dynamic configuration microservice","fork":false,"url":"https://api.github.com/repos/checkr/flagr","forks_url":"https://api.github.com/repos/checkr/flagr/forks","keys_url":"https://api.github.com/repos/checkr/flagr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/checkr/flagr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/checkr/flagr/teams","hooks_url":"https://api.github.com/repos/checkr/flagr/hooks","issue_events_url":"https://api.github.com/repos/checkr/flagr/issues/events{/number}","events_url":"https://api.github.com/repos/checkr/flagr/events","assignees_url":"https://api.github.com/repos/checkr/flagr/assignees{/user}","branches_url":"https://api.github.com/repos/checkr/flagr/branches{/branch}","tags_url":"https://api.github.com/repos/checkr/flagr/tags","blobs_url":"https://api.github.com/repos/checkr/flagr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/checkr/flagr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/checkr/flagr/git/refs{/sha}","trees_url":"https://api.github.com/repos/checkr/flagr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/checkr/flagr/statuses/{sha}","languages_url":"https://api.github.com/repos/checkr/flagr/languages","stargazers_url":"https://api.github.com/repos/checkr/flagr/stargazers","contributors_url":"https://api.github.com/repos/checkr/flagr/contributors","subscribers_url":"https://api.github.com/repos/checkr/flagr/subscribers","subscription_url":"https://api.github.com/repos/checkr/flagr/subscription","commits_url":"https://api.github.com/repos/checkr/flagr/commits{/sha}","git_commits_url":"https://api.github.com/repos/checkr/flagr/git/commits{/sha}","comments_url":"https://api.github.com/repos/checkr/flagr/comments{/number}","issue_comment_url":"https://api.github.com/repos/checkr/flagr/issues/comments{/number}","contents_url":"https://api.github.com/repos/checkr/flagr/contents/{+path}","compare_url":"https://api.github.com/repos/checkr/flagr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/checkr/flagr/merges","archive_url":"https://api.github.com/repos/checkr/flagr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/checkr/flagr/downloads","issues_url":"https://api.github.com/repos/checkr/flagr/issues{/number}","pulls_url":"https://api.github.com/repos/checkr/flagr/pulls{/number}","milestones_url":"https://api.github.com/repos/checkr/flagr/milestones{/number}","notifications_url":"https://api.github.com/repos/checkr/flagr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/checkr/flagr/labels{/name}","releases_url":"https://api.github.com/repos/checkr/flagr/releases{/id}","deployments_url":"https://api.github.com/repos/checkr/flagr/deployments","created_at":"2017-10-03T19:07:32Z","updated_at":"2017-10-10T17:53:21Z","pushed_at":"2017-10-24T23:52:15Z","git_url":"git://github.com/checkr/flagr.git","ssh_url":"git@github.com:checkr/flagr.git","clone_url":"https://github.com/checkr/flagr.git","svn_url":"https://github.com/checkr/flagr","homepage":"","size":25182,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/checkr/flagr/pulls/54"},"html":{"href":"https://github.com/checkr/flagr/pull/54"},"issue":{"href":"https://api.github.com/repos/checkr/flagr/issues/54"},"comments":{"href":"https://api.github.com/repos/checkr/flagr/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/checkr/flagr/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/checkr/flagr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/checkr/flagr/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/checkr/flagr/statuses/e5bd6aabbd5f4d4447729daee4d6e7db9c822deb"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":494,"deletions":96,"changed_files":22}}
{"actor":{"display_login":"zhouzhuojie"}}