[Streaming][minor] Remove additional quote and unneeded imports
Author: jerryshao <saisai.shao@intel.com> Closes #5540 from jerryshao/minor-fix and squashes the following commits: ebaa646 [jerryshao] Minor fix
This commit is contained in:
parent
57cd1e86d1
commit
8370550593
|
@ -41,7 +41,7 @@ object DirectKafkaWordCount {
|
|||
| <brokers> is a list of one or more Kafka brokers
|
||||
| <topics> is a list of one or more kafka topics to consume from
|
||||
|
|
||||
"""".stripMargin)
|
||||
""".stripMargin)
|
||||
System.exit(1)
|
||||
}
|
||||
|
||||
|
|
|
@ -23,10 +23,9 @@ import org.apache.spark.{Logging, Partition, SparkContext, SparkException, TaskC
|
|||
import org.apache.spark.rdd.RDD
|
||||
import org.apache.spark.util.NextIterator
|
||||
|
||||
import java.util.Properties
|
||||
import kafka.api.{FetchRequestBuilder, FetchResponse}
|
||||
import kafka.common.{ErrorMapping, TopicAndPartition}
|
||||
import kafka.consumer.{ConsumerConfig, SimpleConsumer}
|
||||
import kafka.consumer.SimpleConsumer
|
||||
import kafka.message.{MessageAndMetadata, MessageAndOffset}
|
||||
import kafka.serializer.Decoder
|
||||
import kafka.utils.VerifiableProperties
|
||||
|
|
Loading…
Reference in a new issue