spar kafka option properties

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

spar kafka option properties

Gunjan Kumar
Hi,

while reading streaming data from kafka we use following API.

df = spark \
  .readStream \
  .format("kafka") \
  .option("kafka.bootstrap.servers", "host1:port1,host2:port2") \
  .option("subscribe", "topic1") \
  .option("startingOffsets", "earliest") \
  .load()

My Question is how to see different options() available here like 

kafka.bootstrap.servers in the IDE?