Comments (3)
@aveuiller what about specifying the path to existing config file, without parsing. See this.
from embed-influxdb.
That's already what we are doing in the end, so yes ultimately we don't have to parse the configuration file.
Having said that, the embedded influx server is made to automatically remove the created data directory on server stop (hence the getDataPath
function in the interface).
This leads to 2 possibilities: either we don't care about deletion if the user gives us an already written file, or we ask the user for the directory to remove on server stop.
I don't really like both of the solutions since it duplicate the dataPath
information, already present in the configuration file. But I think we can let the user choose if he wants some file deleted at the end of the tests, for instance by providing two constructors.
What do you think about it?
from embed-influxdb.
@aveuiller I think to let a user choose when to delete data, it's a nice option.
from embed-influxdb.
Related Issues (11)
- Incorrect UDP section generation HOT 3
- Add possibility to use different version of InfluxDB HOT 3
- Embedded Influx doesn't work on mac os HOT 6
- Expose server state HOT 3
- java.lang.NoSuchFieldException: handle HOT 2
- Support for InfluxDB2 HOT 5
- Udp protocol support HOT 3
- Enable HTTP authentication HOT 2
- Refactor configuration process HOT 2
- Option to use existed configuration file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from embed-influxdb.