I am following this Flink Kafka example

https://stackoverflow.com/questions/31446374/can-anyone-share-a-flink-kafka-example-in-scala

This is my edited program. I am using Flink 1.5 in flink-scala shell

import org.apache.flink.streaming.api.scala._
import org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumer082
import org.apache.flink.streaming.util.serialization.SimpleStringSchema
import java.util.Properties

But I am getting this error

scala> import org.apache.flink.streaming.api.scala._
import org.apache.flink.streaming.api.scala._

scala> import
org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumer082
<console>:76: error: object connectors is not a member of package
org.apache.flink.streaming
       import
org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumer082

any reason I am getting this error? Are the jar files missing? Cab one add
jar files as parameters to* start-scala-shell.sh local*

Thanks

Dr Mich Talebzadeh



LinkedIn * 
https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw
<https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw>*



http://talebzadehmich.wordpress.com


*Disclaimer:* Use it at your own risk. Any and all responsibility for any
loss, damage or destruction of data or any other property which may arise
from relying on this email's technical content is explicitly disclaimed.
The author will in no case be liable for any monetary damages arising from
such loss, damage or destruction.

Reply via email to