pygmalios / reactiveinflux-spark

Connector between Spark and InfluxDB.
Apache License 2.0
24 stars 7 forks source link

How do we update the influx url in scala code rather than sending it in application.conf #6

Open sreshtakamatham opened 6 years ago

sreshtakamatham commented 6 years ago

I'm currently using this library to send metrics by sending influx configuration through application.conf. Something like this /usr/lib/spark/bin/spark-submit --files /home/ec2-user/application.conf --conf spark.executor.extraClassPath=./

This is restricting me to create a file on local machine. We already have a default config that is used to update this information. Can you please let me know how I can send these configuration from default config I use from code rather than from application.conf? Is there a way to programmatically update the configuration required for this library?