I need to Kafka produce from Json file, should I write the file path it in properties ? and how ?
thank you
'''
val kafkaProducerProps: Properties = {
val props = new Properties()
props.put("bootstrap.servers", "localhost:9092")
props.put("key.serializer", classOf[StringSerializer].getName)
props.put("value.serializer", classOf[StringSerializer].getName)
'''