{"action":"created","issue":{"url":"https://api.github.com/repos/USCDataScience/sparkler/issues/157","repository_url":"https://api.github.com/repos/USCDataScience/sparkler","labels_url":"https://api.github.com/repos/USCDataScience/sparkler/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/USCDataScience/sparkler/issues/157/comments","events_url":"https://api.github.com/repos/USCDataScience/sparkler/issues/157/events","html_url":"https://github.com/USCDataScience/sparkler/issues/157","id":318232333,"number":157,"title":"Failed to construct kafka producer","user":{"login":"misterpilou","id":6677340,"avatar_url":"https://avatars0.githubusercontent.com/u/6677340?v=4","gravatar_id":"","url":"https://api.github.com/users/misterpilou","html_url":"https://github.com/misterpilou","followers_url":"https://api.github.com/users/misterpilou/followers","following_url":"https://api.github.com/users/misterpilou/following{/other_user}","gists_url":"https://api.github.com/users/misterpilou/gists{/gist_id}","starred_url":"https://api.github.com/users/misterpilou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misterpilou/subscriptions","organizations_url":"https://api.github.com/users/misterpilou/orgs","repos_url":"https://api.github.com/users/misterpilou/repos","events_url":"https://api.github.com/users/misterpilou/events{/privacy}","received_events_url":"https://api.github.com/users/misterpilou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-26T23:41:35Z","updated_at":"2018-04-27T00:03:51Z","closed_at":null,"author_association":"NONE","body":"Kafka feature, with all default args doesn't work, i have kafka 1.1.0, running on localhost:9092.\r\nI give you the error trace:\r\n\r\n2018-04-27 01:35:40 ERROR Executor:95 [Executor task launch worker-0] - Exception in task 0.0 in stage 1.0 (TID 1)\r\norg.apache.kafka.common.KafkaException: Failed to construct kafka producer\r\n\tat org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProducer.java:335)\r\n\tat org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProducer.java:188)\r\n\tat edu.usc.irds.sparkler.pipeline.SparklerProducer.<init>(SparklerProducer.scala:45)\r\n\tat edu.usc.irds.sparkler.pipeline.Crawler$$anonfun$storeContentKafka$1.apply(Crawler.scala:235)\r\n\tat edu.usc.irds.sparkler.pipeline.Crawler$$anonfun$storeContentKafka$1.apply(Crawler.scala:234)\r\n\tat org.apache.spark.rdd.RDD$$anonfun$foreachPartition$1$$anonfun$apply$33.apply(RDD.scala:920)\r\n\tat org.apache.spark.rdd.RDD$$anonfun$foreachPartition$1$$anonfun$apply$33.apply(RDD.scala:920)\r\n\tat org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1858)\r\n\tat org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1858)\r\n\tat org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)\r\n\tat org.apache.spark.scheduler.Task.run(Task.scala:89)\r\n\tat org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\nCaused by: org.apache.kafka.common.config.ConfigException: Invalid url in bootstrap.servers: -ktp\r\n\tat org.apache.kafka.clients.ClientUtils.parseAndValidateAddresses(ClientUtils.java:45)\r\n\tat org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProducer.java:275)\r\n\t... 14 more\r\n"},"comment":{"url":"https://api.github.com/repos/USCDataScience/sparkler/issues/comments/384824198","html_url":"https://github.com/USCDataScience/sparkler/issues/157#issuecomment-384824198","issue_url":"https://api.github.com/repos/USCDataScience/sparkler/issues/157","id":384824198,"user":{"login":"misterpilou","id":6677340,"avatar_url":"https://avatars0.githubusercontent.com/u/6677340?v=4","gravatar_id":"","url":"https://api.github.com/users/misterpilou","html_url":"https://github.com/misterpilou","followers_url":"https://api.github.com/users/misterpilou/followers","following_url":"https://api.github.com/users/misterpilou/following{/other_user}","gists_url":"https://api.github.com/users/misterpilou/gists{/gist_id}","starred_url":"https://api.github.com/users/misterpilou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misterpilou/subscriptions","organizations_url":"https://api.github.com/users/misterpilou/orgs","repos_url":"https://api.github.com/users/misterpilou/repos","events_url":"https://api.github.com/users/misterpilou/events{/privacy}","received_events_url":"https://api.github.com/users/misterpilou/received_events","type":"User","site_admin":false},"created_at":"2018-04-27T00:03:51Z","updated_at":"2018-04-27T00:03:51Z","author_association":"NONE","body":"I did edited the sparkler-default.yaml"}}
{"actor":{"display_login":"misterpilou"}}