QuestionQ191
VerifiedStructured StreamingA data engineer needs to create a Streaming DataFrame that reads from a Kafka topic named feed.
spark.readStream.format("kafka").option("kafka.bootstrap.servers", "host1:port1,host2:port2")._____________.load()
Which code fragment should be added on line 5 to satisfy the requirement?
Community Discussion