{"action":"created","comment":{"url":"https://api.github.com/repos/fission/fission/pulls/comments/226957553","pull_request_review_id":166887509,"id":226957553,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjk1NzU1Mw==","diff_hunk":"@@ -0,0 +1,88 @@\n+#!/bin/bash\n+#test:disabled\n+\n+# Create a function and trigger it using Kafka\n+# This test requires Kafka & MQ-Kafka component of Fission installed in the cluster\n+set -euo pipefail\n+set +x\n+\n+nodeenv=\"node-kafka\"\n+goenv=\"go-kafka\"\n+producerfunc=\"producer-func\"\n+consumerfunc=\"consumer-func\"\n+\n+log() {\n+    echo $1\n+}\n+export -f log","path":"test/tests/mqtrigger/kafka/test_kafka.sh","position":17,"original_position":17,"commit_id":"2f99e18f74495338a15efac78539f88fd08bb8da","original_commit_id":"4cfe7edf8e8392b4c03d1f516b02149102f82fa2","user":{"login":"vishal-biyani","id":1167948,"node_id":"MDQ6VXNlcjExNjc5NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/1167948?v=4","gravatar_id":"","url":"https://api.github.com/users/vishal-biyani","html_url":"https://github.com/vishal-biyani","followers_url":"https://api.github.com/users/vishal-biyani/followers","following_url":"https://api.github.com/users/vishal-biyani/following{/other_user}","gists_url":"https://api.github.com/users/vishal-biyani/gists{/gist_id}","starred_url":"https://api.github.com/users/vishal-biyani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishal-biyani/subscriptions","organizations_url":"https://api.github.com/users/vishal-biyani/orgs","repos_url":"https://api.github.com/users/vishal-biyani/repos","events_url":"https://api.github.com/users/vishal-biyani/events{/privacy}","received_events_url":"https://api.github.com/users/vishal-biyani/received_events","type":"User","site_admin":false},"body":"This was a fallback for using log on Mac, can be removed though.","created_at":"2018-10-22T11:03:17Z","updated_at":"2018-10-22T11:03:20Z","html_url":"https://github.com/fission/fission/pull/944#discussion_r226957553","pull_request_url":"https://api.github.com/repos/fission/fission/pulls/944","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/fission/fission/pulls/comments/226957553"},"html":{"href":"https://github.com/fission/fission/pull/944#discussion_r226957553"},"pull_request":{"href":"https://api.github.com/repos/fission/fission/pulls/944"}},"in_reply_to_id":226829097},"pull_request":{"url":"https://api.github.com/repos/fission/fission/pulls/944","id":224286549,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0Mjg2NTQ5","html_url":"https://github.com/fission/fission/pull/944","diff_url":"https://github.com/fission/fission/pull/944.diff","patch_url":"https://github.com/fission/fission/pull/944.patch","issue_url":"https://api.github.com/repos/fission/fission/issues/944","number":944,"state":"open","locked":false,"title":"Kafka tests","user":{"login":"vishal-biyani","id":1167948,"node_id":"MDQ6VXNlcjExNjc5NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/1167948?v=4","gravatar_id":"","url":"https://api.github.com/users/vishal-biyani","html_url":"https://github.com/vishal-biyani","followers_url":"https://api.github.com/users/vishal-biyani/followers","following_url":"https://api.github.com/users/vishal-biyani/following{/other_user}","gists_url":"https://api.github.com/users/vishal-biyani/gists{/gist_id}","starred_url":"https://api.github.com/users/vishal-biyani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishal-biyani/subscriptions","organizations_url":"https://api.github.com/users/vishal-biyani/orgs","repos_url":"https://api.github.com/users/vishal-biyani/repos","events_url":"https://api.github.com/users/vishal-biyani/events{/privacy}","received_events_url":"https://api.github.com/users/vishal-biyani/received_events","type":"User","site_admin":false},"body":"#903 A basic and simple test for Kafka integration. \r\n\r\nThe producer function produces a message on a fixed topic and consumer function gets the message.  The logs of mqtrigger-kafka are grepped for successful invocation of consumer function.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/fission/fission/944)\n<!-- Reviewable:end -->\n","created_at":"2018-10-19T13:25:39Z","updated_at":"2018-10-22T11:03:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a217a1ab2b0269a8a1fd3796cdfe0360f98a2319","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/fission/fission/milestones/16","html_url":"https://github.com/fission/fission/milestone/16","labels_url":"https://api.github.com/repos/fission/fission/milestones/16/labels","id":3629700,"node_id":"MDk6TWlsZXN0b25lMzYyOTcwMA==","number":16,"title":"0.12.0","description":"","creator":{"login":"vishal-biyani","id":1167948,"node_id":"MDQ6VXNlcjExNjc5NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/1167948?v=4","gravatar_id":"","url":"https://api.github.com/users/vishal-biyani","html_url":"https://github.com/vishal-biyani","followers_url":"https://api.github.com/users/vishal-biyani/followers","following_url":"https://api.github.com/users/vishal-biyani/following{/other_user}","gists_url":"https://api.github.com/users/vishal-biyani/gists{/gist_id}","starred_url":"https://api.github.com/users/vishal-biyani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishal-biyani/subscriptions","organizations_url":"https://api.github.com/users/vishal-biyani/orgs","repos_url":"https://api.github.com/users/vishal-biyani/repos","events_url":"https://api.github.com/users/vishal-biyani/events{/privacy}","received_events_url":"https://api.github.com/users/vishal-biyani/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":11,"state":"open","created_at":"2018-09-06T16:08:51Z","updated_at":"2018-10-20T20:10:29Z","due_on":"2018-11-02T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/fission/fission/pulls/944/commits","review_comments_url":"https://api.github.com/repos/fission/fission/pulls/944/comments","review_comment_url":"https://api.github.com/repos/fission/fission/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fission/fission/issues/944/comments","statuses_url":"https://api.github.com/repos/fission/fission/statuses/2f99e18f74495338a15efac78539f88fd08bb8da","head":{"label":"fission:kafka_tests","ref":"kafka_tests","sha":"2f99e18f74495338a15efac78539f88fd08bb8da","user":{"login":"fission","id":24659215,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NjU5MjE1","avatar_url":"https://avatars2.githubusercontent.com/u/24659215?v=4","gravatar_id":"","url":"https://api.github.com/users/fission","html_url":"https://github.com/fission","followers_url":"https://api.github.com/users/fission/followers","following_url":"https://api.github.com/users/fission/following{/other_user}","gists_url":"https://api.github.com/users/fission/gists{/gist_id}","starred_url":"https://api.github.com/users/fission/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fission/subscriptions","organizations_url":"https://api.github.com/users/fission/orgs","repos_url":"https://api.github.com/users/fission/repos","events_url":"https://api.github.com/users/fission/events{/privacy}","received_events_url":"https://api.github.com/users/fission/received_events","type":"Organization","site_admin":false},"repo":{"id":66050533,"node_id":"MDEwOlJlcG9zaXRvcnk2NjA1MDUzMw==","name":"fission","full_name":"fission/fission","private":false,"owner":{"login":"fission","id":24659215,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NjU5MjE1","avatar_url":"https://avatars2.githubusercontent.com/u/24659215?v=4","gravatar_id":"","url":"https://api.github.com/users/fission","html_url":"https://github.com/fission","followers_url":"https://api.github.com/users/fission/followers","following_url":"https://api.github.com/users/fission/following{/other_user}","gists_url":"https://api.github.com/users/fission/gists{/gist_id}","starred_url":"https://api.github.com/users/fission/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fission/subscriptions","organizations_url":"https://api.github.com/users/fission/orgs","repos_url":"https://api.github.com/users/fission/repos","events_url":"https://api.github.com/users/fission/events{/privacy}","received_events_url":"https://api.github.com/users/fission/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/fission/fission","description":"Fast Serverless Functions for Kubernetes","fork":false,"url":"https://api.github.com/repos/fission/fission","forks_url":"https://api.github.com/repos/fission/fission/forks","keys_url":"https://api.github.com/repos/fission/fission/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fission/fission/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fission/fission/teams","hooks_url":"https://api.github.com/repos/fission/fission/hooks","issue_events_url":"https://api.github.com/repos/fission/fission/issues/events{/number}","events_url":"https://api.github.com/repos/fission/fission/events","assignees_url":"https://api.github.com/repos/fission/fission/assignees{/user}","branches_url":"https://api.github.com/repos/fission/fission/branches{/branch}","tags_url":"https://api.github.com/repos/fission/fission/tags","blobs_url":"https://api.github.com/repos/fission/fission/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fission/fission/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fission/fission/git/refs{/sha}","trees_url":"https://api.github.com/repos/fission/fission/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fission/fission/statuses/{sha}","languages_url":"https://api.github.com/repos/fission/fission/languages","stargazers_url":"https://api.github.com/repos/fission/fission/stargazers","contributors_url":"https://api.github.com/repos/fission/fission/contributors","subscribers_url":"https://api.github.com/repos/fission/fission/subscribers","subscription_url":"https://api.github.com/repos/fission/fission/subscription","commits_url":"https://api.github.com/repos/fission/fission/commits{/sha}","git_commits_url":"https://api.github.com/repos/fission/fission/git/commits{/sha}","comments_url":"https://api.github.com/repos/fission/fission/comments{/number}","issue_comment_url":"https://api.github.com/repos/fission/fission/issues/comments{/number}","contents_url":"https://api.github.com/repos/fission/fission/contents/{+path}","compare_url":"https://api.github.com/repos/fission/fission/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fission/fission/merges","archive_url":"https://api.github.com/repos/fission/fission/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fission/fission/downloads","issues_url":"https://api.github.com/repos/fission/fission/issues{/number}","pulls_url":"https://api.github.com/repos/fission/fission/pulls{/number}","milestones_url":"https://api.github.com/repos/fission/fission/milestones{/number}","notifications_url":"https://api.github.com/repos/fission/fission/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fission/fission/labels{/name}","releases_url":"https://api.github.com/repos/fission/fission/releases{/id}","deployments_url":"https://api.github.com/repos/fission/fission/deployments","created_at":"2016-08-19T03:43:56Z","updated_at":"2018-10-22T08:35:46Z","pushed_at":"2018-10-22T10:11:15Z","git_url":"git://github.com/fission/fission.git","ssh_url":"git@github.com:fission/fission.git","clone_url":"https://github.com/fission/fission.git","svn_url":"https://github.com/fission/fission","homepage":"http://fission.io","size":39244,"stargazers_count":3663,"watchers_count":3663,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":305,"mirror_url":null,"archived":false,"open_issues_count":224,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":305,"open_issues":224,"watchers":3663,"default_branch":"master"}},"base":{"label":"fission:master","ref":"master","sha":"619b390af324fa242591b04da44989b4c9df0f86","user":{"login":"fission","id":24659215,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NjU5MjE1","avatar_url":"https://avatars2.githubusercontent.com/u/24659215?v=4","gravatar_id":"","url":"https://api.github.com/users/fission","html_url":"https://github.com/fission","followers_url":"https://api.github.com/users/fission/followers","following_url":"https://api.github.com/users/fission/following{/other_user}","gists_url":"https://api.github.com/users/fission/gists{/gist_id}","starred_url":"https://api.github.com/users/fission/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fission/subscriptions","organizations_url":"https://api.github.com/users/fission/orgs","repos_url":"https://api.github.com/users/fission/repos","events_url":"https://api.github.com/users/fission/events{/privacy}","received_events_url":"https://api.github.com/users/fission/received_events","type":"Organization","site_admin":false},"repo":{"id":66050533,"node_id":"MDEwOlJlcG9zaXRvcnk2NjA1MDUzMw==","name":"fission","full_name":"fission/fission","private":false,"owner":{"login":"fission","id":24659215,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NjU5MjE1","avatar_url":"https://avatars2.githubusercontent.com/u/24659215?v=4","gravatar_id":"","url":"https://api.github.com/users/fission","html_url":"https://github.com/fission","followers_url":"https://api.github.com/users/fission/followers","following_url":"https://api.github.com/users/fission/following{/other_user}","gists_url":"https://api.github.com/users/fission/gists{/gist_id}","starred_url":"https://api.github.com/users/fission/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fission/subscriptions","organizations_url":"https://api.github.com/users/fission/orgs","repos_url":"https://api.github.com/users/fission/repos","events_url":"https://api.github.com/users/fission/events{/privacy}","received_events_url":"https://api.github.com/users/fission/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/fission/fission","description":"Fast Serverless Functions for Kubernetes","fork":false,"url":"https://api.github.com/repos/fission/fission","forks_url":"https://api.github.com/repos/fission/fission/forks","keys_url":"https://api.github.com/repos/fission/fission/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fission/fission/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fission/fission/teams","hooks_url":"https://api.github.com/repos/fission/fission/hooks","issue_events_url":"https://api.github.com/repos/fission/fission/issues/events{/number}","events_url":"https://api.github.com/repos/fission/fission/events","assignees_url":"https://api.github.com/repos/fission/fission/assignees{/user}","branches_url":"https://api.github.com/repos/fission/fission/branches{/branch}","tags_url":"https://api.github.com/repos/fission/fission/tags","blobs_url":"https://api.github.com/repos/fission/fission/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fission/fission/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fission/fission/git/refs{/sha}","trees_url":"https://api.github.com/repos/fission/fission/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fission/fission/statuses/{sha}","languages_url":"https://api.github.com/repos/fission/fission/languages","stargazers_url":"https://api.github.com/repos/fission/fission/stargazers","contributors_url":"https://api.github.com/repos/fission/fission/contributors","subscribers_url":"https://api.github.com/repos/fission/fission/subscribers","subscription_url":"https://api.github.com/repos/fission/fission/subscription","commits_url":"https://api.github.com/repos/fission/fission/commits{/sha}","git_commits_url":"https://api.github.com/repos/fission/fission/git/commits{/sha}","comments_url":"https://api.github.com/repos/fission/fission/comments{/number}","issue_comment_url":"https://api.github.com/repos/fission/fission/issues/comments{/number}","contents_url":"https://api.github.com/repos/fission/fission/contents/{+path}","compare_url":"https://api.github.com/repos/fission/fission/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fission/fission/merges","archive_url":"https://api.github.com/repos/fission/fission/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fission/fission/downloads","issues_url":"https://api.github.com/repos/fission/fission/issues{/number}","pulls_url":"https://api.github.com/repos/fission/fission/pulls{/number}","milestones_url":"https://api.github.com/repos/fission/fission/milestones{/number}","notifications_url":"https://api.github.com/repos/fission/fission/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fission/fission/labels{/name}","releases_url":"https://api.github.com/repos/fission/fission/releases{/id}","deployments_url":"https://api.github.com/repos/fission/fission/deployments","created_at":"2016-08-19T03:43:56Z","updated_at":"2018-10-22T08:35:46Z","pushed_at":"2018-10-22T10:11:15Z","git_url":"git://github.com/fission/fission.git","ssh_url":"git@github.com:fission/fission.git","clone_url":"https://github.com/fission/fission.git","svn_url":"https://github.com/fission/fission","homepage":"http://fission.io","size":39244,"stargazers_count":3663,"watchers_count":3663,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":305,"mirror_url":null,"archived":false,"open_issues_count":224,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":305,"open_issues":224,"watchers":3663,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fission/fission/pulls/944"},"html":{"href":"https://github.com/fission/fission/pull/944"},"issue":{"href":"https://api.github.com/repos/fission/fission/issues/944"},"comments":{"href":"https://api.github.com/repos/fission/fission/issues/944/comments"},"review_comments":{"href":"https://api.github.com/repos/fission/fission/pulls/944/comments"},"review_comment":{"href":"https://api.github.com/repos/fission/fission/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fission/fission/pulls/944/commits"},"statuses":{"href":"https://api.github.com/repos/fission/fission/statuses/2f99e18f74495338a15efac78539f88fd08bb8da"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"vishal-biyani"}}