What I am trying to do is to convert data in json format from kafka into dataframe. I can easily do this by creating a schema and use from_json as shown here: How to use from_json with kafka connect 0.10 and Spark Structured Streaming?
But is there anyway I can do the same thing using Java instead of Scala? As far as I know there is no "from_json" API in java.
Thanks!