[
https://issues.apache.org/jira/browse/SPARK-24451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ankit Prakash Gupta reopened SPARK-24451:
-----------------------------------------
There are no examples available. Kindly help me with the references how to
connect to a kafka producer using spark streaming api.
> Spark-Streaming-Kafka-1.6.3- KafkaUtils.createStream function uses the old
> Logging class
> ----------------------------------------------------------------------------------------
>
> Key: SPARK-24451
> URL: https://issues.apache.org/jira/browse/SPARK-24451
> Project: Spark
> Issue Type: Bug
> Components: Build, Spark Core
> Affects Versions: 2.3.0
> Environment: Spark 2.3.0
> Spark Streaming 2.3.0
> Kafka 1.1.0
>
> Reporter: Ankit Prakash Gupta
> Priority: Major
> Labels: kafka-1.1.0, spark-streaming, spark-streaming-kafka
> Attachments: Screenshot from 2018-06-01 23-58-48.png
>
>
> While trying using org.apache.spark.streaming.kafka.KafkaUtils.createStream
> function to create a stream for consumer, I came across an error
> "java.lang.NoClassDefFoundError: org/apache/spark/Logging". I checked the API
> documents and found that the Logging Interface was shifted to
> "org.apache.spark.internal" package from "org.apache.spark" package.
>
> Kindly update the same in the class definitions.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]