How can an InfluxDB database (which has streaming data coming in) be used as Source for Spark Streaming ? Also, Is it possible to use InfluxDB instead of SparkSQL for performing computations on datasets ?
How can InfluxDB be used as Spark Source
Asked Answered
You can do so, assuming you're using Java, you can install InfluxDB's Java client library and write a SQL query to get the data. Yes you don't need to use SparkSQL.
© 2022 - 2024 — McMap. All rights reserved.