1. I noticed that the example for using MapR-DB OJAI Connector for Spark discusses the Streaming mode, but doesn't touch Structured Streaming. With the latter being announced production-ready now, is there any way to use that Connector, too?
2. The standard doco doesn't mention that, but I guess the method "MapRDBSpark.newDocument(x)" expects "x" to be a valid JSON. Could someone confirm that? Provided that I'm getting streaming data that is not always JSON, what should I do? Currently I'm thinking of wrapping that data into a kind of JSON wrapper, but that seems to be an unnecessary burden.