Home > other >  Spark receive the kafka data Streaming, output to the HBas
Spark receive the kafka data Streaming, output to the HBas

Time:09-19



Demand Kafka + SparkStreaming + HBase

CodePudding user response:

Sparkstreaming - kakfa under the jars, and then the good related HBase jar package
Development of kafka can use KafkaUtils createDirectStream and createStream class loading data flow
And then through the data stream foreachRDD RDD, use of RDD mapPartitions class to kafka data to HBase, note mapPartitions need to collect will truly implemented
  • Related