Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
2.4.6
-
None
Description
Add a class in spark with all Kafka configuration key available as string.
see the highligted class which i want.
eg:-
Current code:-
val df_cluster1 = spark
.read
.format("kafka")
.option("kafka.bootstrap.servers","cluster1_host:cluster1_port)
.option("subscribe", "topic1")
Expected code:-
val df_cluster1 = spark
.read
.format("kafka")
.option(KafkaConstantClass.KAFKA_BOOTSTRAP_SERVERS,"cluster1_host:cluster1_port)
.option(KafkaConstantClass.subscribe, "topic1")