GitHub PullRequestReviewCommentEvent at 2014-11-04 09:50:07
Repository: spark-cassandra-connector
Actor: maasg
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/comments/19793104","id":19793104,"diff_hunk":"@@ -28,13 +30,22 @@ import com.datastax.spark.connector.streaming._\n  * 6. Asserts expectations are met\n  * 7. Shuts down Spark, Kafka and ZooKeeper\n  */\n-object KafkaStreamingWordCountDemo extends DemoApp with Assertions {\n+object KafkaStreamingWordCountApp extends App with Logging with Assertions {\n+\n+  val words = \"./spark-cassandra-connector-demos/kafka-stream/src/main/resources/data/words\"\n \n-  private val topic = \"demo.wordcount.topic\"\n+  val topic = \"demo.wordcount.topic\"\n \n   /** Starts the Kafka broker. */\n   lazy val kafka = new EmbeddedKafka()\n \n+  val conf = new SparkConf(true)\n+    .setMaster(\"local[10]\")","path":"spark-cassandra-connector-demos/kafka-stream/src/main/scala/com/datastax/spark/connector/demo/KafkaStreamingWordCountApp.scala","position":44,"original_position":44,"commit_id":"19b1623710a77a391662369a663cd6a1963dd7f7","original_commit_id":"19b1623710a77a391662369a663cd6a1963dd7f7","user":{"login":"maasg","id":874997,"avatar_url":"https://avatars.githubusercontent.com/u/874997?v=2","gravatar_id":"","url":"https://api.github.com/users/maasg","html_url":"https://github.com/maasg","followers_url":"https://api.github.com/users/maasg/followers","following_url":"https://api.github.com/users/maasg/following{/other_user}","gists_url":"https://api.github.com/users/maasg/gists{/gist_id}","starred_url":"https://api.github.com/users/maasg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maasg/subscriptions","organizations_url":"https://api.github.com/users/maasg/orgs","repos_url":"https://api.github.com/users/maasg/repos","events_url":"https://api.github.com/users/maasg/events{/privacy}","received_events_url":"https://api.github.com/users/maasg/received_events","type":"User","site_admin":false},"body":"maybe use `local[*]` to use the available cores?","created_at":"2014-11-04T09:50:07Z","updated_at":"2014-11-04T09:50:07Z","html_url":"https://github.com/datastax/spark-cassandra-connector/pull/400#discussion_r19793104","pull_request_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/400","_links":{"self":{"href":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/comments/19793104"},"html":{"href":"https://github.com/datastax/spark-cassandra-connector/pull/400#discussion_r19793104"},"pull_request":{"href":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/400"}}},"pull_request":{"url":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/400","id":23724318,"html_url":"https://github.com/datastax/spark-cassandra-connector/pull/400","diff_url":"https://github.com/datastax/spark-cassandra-connector/pull/400.diff","patch_url":"https://github.com/datastax/spark-cassandra-connector/pull/400.patch","issue_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues/400","number":400,"state":"closed","locked":false,"title":"#382 Add Twitter streaming demo, and #129 (all streaming demos), with th...","user":{"login":"helena","id":406103,"avatar_url":"https://avatars.githubusercontent.com/u/406103?v=2","gravatar_id":"","url":"https://api.github.com/users/helena","html_url":"https://github.com/helena","followers_url":"https://api.github.com/users/helena/followers","following_url":"https://api.github.com/users/helena/following{/other_user}","gists_url":"https://api.github.com/users/helena/gists{/gist_id}","starred_url":"https://api.github.com/users/helena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helena/subscriptions","organizations_url":"https://api.github.com/users/helena/orgs","repos_url":"https://api.github.com/users/helena/repos","events_url":"https://api.github.com/users/helena/events{/privacy}","received_events_url":"https://api.github.com/users/helena/received_events","type":"User","site_admin":false},"body":"#382 Add Twitter streaming demo\r\n#129 (all streaming demos)\r\nAnd addition of a runner script and finished demo setup, config and run documentation.\r\nPlus some sweet build changes for demos and slimmed down the demo dependencies for spark-submit in the near future of a particular streaming (kafka, twitter...)","created_at":"2014-11-01T21:16:38Z","updated_at":"2014-11-04T09:50:07Z","closed_at":"2014-11-02T01:50:03Z","merged_at":null,"merge_commit_sha":"0103403a03696d26e889fab91cefc07ecb759a17","assignee":null,"milestone":{"url":"https://api.github.com/repos/datastax/spark-cassandra-connector/milestones/2","labels_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/milestones/2/labels","id":719510,"number":2,"title":"1.1","description":"Support for Spark 1.0 specific features (SchemaRDD), better integration with Spark Streaming. Compatibility with Cassandra 2.0 and 2.1.","creator":{"login":"pkolaczk","id":1352795,"avatar_url":"https://avatars.githubusercontent.com/u/1352795?v=2","gravatar_id":"","url":"https://api.github.com/users/pkolaczk","html_url":"https://github.com/pkolaczk","followers_url":"https://api.github.com/users/pkolaczk/followers","following_url":"https://api.github.com/users/pkolaczk/following{/other_user}","gists_url":"https://api.github.com/users/pkolaczk/gists{/gist_id}","starred_url":"https://api.github.com/users/pkolaczk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkolaczk/subscriptions","organizations_url":"https://api.github.com/users/pkolaczk/orgs","repos_url":"https://api.github.com/users/pkolaczk/repos","events_url":"https://api.github.com/users/pkolaczk/events{/privacy}","received_events_url":"https://api.github.com/users/pkolaczk/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":41,"state":"open","created_at":"2014-07-13T18:11:00Z","updated_at":"2014-11-03T09:25:50Z","due_on":null},"commits_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/400/commits","review_comments_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/400/comments","review_comment_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/comments/{number}","comments_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues/400/comments","statuses_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/statuses/19b1623710a77a391662369a663cd6a1963dd7f7","head":{"label":"datastax:wip-382-add-twitter-streaming-demo","ref":"wip-382-add-twitter-streaming-demo","sha":"19b1623710a77a391662369a663cd6a1963dd7f7","user":{"login":"datastax","id":573369,"avatar_url":"https://avatars.githubusercontent.com/u/573369?v=2","gravatar_id":"","url":"https://api.github.com/users/datastax","html_url":"https://github.com/datastax","followers_url":"https://api.github.com/users/datastax/followers","following_url":"https://api.github.com/users/datastax/following{/other_user}","gists_url":"https://api.github.com/users/datastax/gists{/gist_id}","starred_url":"https://api.github.com/users/datastax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datastax/subscriptions","organizations_url":"https://api.github.com/users/datastax/orgs","repos_url":"https://api.github.com/users/datastax/repos","events_url":"https://api.github.com/users/datastax/events{/privacy}","received_events_url":"https://api.github.com/users/datastax/received_events","type":"Organization","site_admin":false},"repo":{"id":21280887,"name":"spark-cassandra-connector","full_name":"datastax/spark-cassandra-connector","owner":{"login":"datastax","id":573369,"avatar_url":"https://avatars.githubusercontent.com/u/573369?v=2","gravatar_id":"","url":"https://api.github.com/users/datastax","html_url":"https://github.com/datastax","followers_url":"https://api.github.com/users/datastax/followers","following_url":"https://api.github.com/users/datastax/following{/other_user}","gists_url":"https://api.github.com/users/datastax/gists{/gist_id}","starred_url":"https://api.github.com/users/datastax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datastax/subscriptions","organizations_url":"https://api.github.com/users/datastax/orgs","repos_url":"https://api.github.com/users/datastax/repos","events_url":"https://api.github.com/users/datastax/events{/privacy}","received_events_url":"https://api.github.com/users/datastax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datastax/spark-cassandra-connector","description":"If you write a Spark application that needs access to Cassandra, this library is for you","fork":false,"url":"https://api.github.com/repos/datastax/spark-cassandra-connector","forks_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/forks","keys_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/teams","hooks_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/hooks","issue_events_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues/events{/number}","events_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/events","assignees_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/assignees{/user}","branches_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/branches{/branch}","tags_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/tags","blobs_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/git/refs{/sha}","trees_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/statuses/{sha}","languages_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/languages","stargazers_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/stargazers","contributors_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/contributors","subscribers_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/subscribers","subscription_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/subscription","commits_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/commits{/sha}","git_commits_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/git/commits{/sha}","comments_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/comments{/number}","issue_comment_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues/comments/{number}","contents_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/contents/{+path}","compare_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/merges","archive_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/downloads","issues_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues{/number}","pulls_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls{/number}","milestones_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/milestones{/number}","notifications_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/labels{/name}","releases_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/releases{/id}","created_at":"2014-06-27T15:45:54Z","updated_at":"2014-11-04T07:23:20Z","pushed_at":"2014-11-03T19:55:33Z","git_url":"git://github.com/datastax/spark-cassandra-connector.git","ssh_url":"git@github.com:datastax/spark-cassandra-connector.git","clone_url":"https://github.com/datastax/spark-cassandra-connector.git","svn_url":"https://github.com/datastax/spark-cassandra-connector","homepage":"","size":7679,"stargazers_count":265,"watchers_count":265,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":69,"mirror_url":null,"open_issues_count":85,"forks":69,"open_issues":85,"watchers":265,"default_branch":"master"}},"base":{"label":"datastax:b1.1","ref":"b1.1","sha":"90b23930af2b70854bc807bdac6995658626fd29","user":{"login":"datastax","id":573369,"avatar_url":"https://avatars.githubusercontent.com/u/573369?v=2","gravatar_id":"","url":"https://api.github.com/users/datastax","html_url":"https://github.com/datastax","followers_url":"https://api.github.com/users/datastax/followers","following_url":"https://api.github.com/users/datastax/following{/other_user}","gists_url":"https://api.github.com/users/datastax/gists{/gist_id}","starred_url":"https://api.github.com/users/datastax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datastax/subscriptions","organizations_url":"https://api.github.com/users/datastax/orgs","repos_url":"https://api.github.com/users/datastax/repos","events_url":"https://api.github.com/users/datastax/events{/privacy}","received_events_url":"https://api.github.com/users/datastax/received_events","type":"Organization","site_admin":false},"repo":{"id":21280887,"name":"spark-cassandra-connector","full_name":"datastax/spark-cassandra-connector","owner":{"login":"datastax","id":573369,"avatar_url":"https://avatars.githubusercontent.com/u/573369?v=2","gravatar_id":"","url":"https://api.github.com/users/datastax","html_url":"https://github.com/datastax","followers_url":"https://api.github.com/users/datastax/followers","following_url":"https://api.github.com/users/datastax/following{/other_user}","gists_url":"https://api.github.com/users/datastax/gists{/gist_id}","starred_url":"https://api.github.com/users/datastax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datastax/subscriptions","organizations_url":"https://api.github.com/users/datastax/orgs","repos_url":"https://api.github.com/users/datastax/repos","events_url":"https://api.github.com/users/datastax/events{/privacy}","received_events_url":"https://api.github.com/users/datastax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datastax/spark-cassandra-connector","description":"If you write a Spark application that needs access to Cassandra, this library is for you","fork":false,"url":"https://api.github.com/repos/datastax/spark-cassandra-connector","forks_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/forks","keys_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/teams","hooks_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/hooks","issue_events_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues/events{/number}","events_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/events","assignees_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/assignees{/user}","branches_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/branches{/branch}","tags_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/tags","blobs_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/git/refs{/sha}","trees_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/statuses/{sha}","languages_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/languages","stargazers_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/stargazers","contributors_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/contributors","subscribers_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/subscribers","subscription_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/subscription","commits_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/commits{/sha}","git_commits_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/git/commits{/sha}","comments_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/comments{/number}","issue_comment_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues/comments/{number}","contents_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/contents/{+path}","compare_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/merges","archive_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/downloads","issues_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues{/number}","pulls_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls{/number}","milestones_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/milestones{/number}","notifications_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/labels{/name}","releases_url":"https://api.github.com/repos/datastax/spark-cassandra-connector/releases{/id}","created_at":"2014-06-27T15:45:54Z","updated_at":"2014-11-04T07:23:20Z","pushed_at":"2014-11-03T19:55:33Z","git_url":"git://github.com/datastax/spark-cassandra-connector.git","ssh_url":"git@github.com:datastax/spark-cassandra-connector.git","clone_url":"https://github.com/datastax/spark-cassandra-connector.git","svn_url":"https://github.com/datastax/spark-cassandra-connector","homepage":"","size":7679,"stargazers_count":265,"watchers_count":265,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":69,"mirror_url":null,"open_issues_count":85,"forks":69,"open_issues":85,"watchers":265,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/400"},"html":{"href":"https://github.com/datastax/spark-cassandra-connector/pull/400"},"issue":{"href":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues/400"},"comments":{"href":"https://api.github.com/repos/datastax/spark-cassandra-connector/issues/400/comments"},"review_comments":{"href":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/400/comments"},"review_comment":{"href":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/datastax/spark-cassandra-connector/pulls/400/commits"},"statuses":{"href":"https://api.github.com/repos/datastax/spark-cassandra-connector/statuses/19b1623710a77a391662369a663cd6a1963dd7f7"}}}}