{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/4723","labels_url":"https://api.github.com/repos/apache/spark/issues/4723/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/4723/comments","events_url":"https://api.github.com/repos/apache/spark/issues/4723/events","html_url":"https://github.com/apache/spark/pull/4723","id":58543717,"number":4723,"title":"[SPARK-5946][Streaming] Add Python API for direct Kafka stream","user":{"login":"jerryshao","id":850797,"avatar_url":"https://avatars.githubusercontent.com/u/850797?v=3","gravatar_id":"","url":"https://api.github.com/users/jerryshao","html_url":"https://github.com/jerryshao","followers_url":"https://api.github.com/users/jerryshao/followers","following_url":"https://api.github.com/users/jerryshao/following{/other_user}","gists_url":"https://api.github.com/users/jerryshao/gists{/gist_id}","starred_url":"https://api.github.com/users/jerryshao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerryshao/subscriptions","organizations_url":"https://api.github.com/users/jerryshao/orgs","repos_url":"https://api.github.com/users/jerryshao/repos","events_url":"https://api.github.com/users/jerryshao/events{/privacy}","received_events_url":"https://api.github.com/users/jerryshao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2015-02-23T05:20:09Z","updated_at":"2015-02-25T06:19:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/4723","html_url":"https://github.com/apache/spark/pull/4723","diff_url":"https://github.com/apache/spark/pull/4723.diff","patch_url":"https://github.com/apache/spark/pull/4723.patch"},"body":"Currently only added `createDirectStream` API, I'm not sure if `createRDD` is also needed, since some Java object needs to be wrapped in Python. Please help to review, thanks a lot."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/75911518","html_url":"https://github.com/apache/spark/pull/4723#issuecomment-75911518","issue_url":"https://api.github.com/repos/apache/spark/issues/4723","id":75911518,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T06:19:53Z","updated_at":"2015-02-25T06:19:53Z","body":"  [Test build #27941 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/27941/consoleFull) for   PR 4723 at commit [`d68aad2`](https://github.com/apache/spark/commit/d68aad239c2eb4917daa755efd60c9fdcd87a53e).\n * This patch **passes all tests**.\n * This patch merges cleanly.\n * This patch adds the following public classes _(experimental)_:\n  * `class OffsetRange(object):`\n"}}