influxdata / influxdb-java

Java client for InfluxDB
MIT License
1.18k stars 477 forks source link

Add support for java records #964

Open eranl opened 10 months ago

eranl commented 10 months ago

It would be nice to read and write data from/to influxdb using java records.

I have implemented such support. Are you interested in a PR?

majst01 commented 10 months ago

sure, will be a major change as it will drop support for Java 8 which is actually still used by a lot

eranl commented 10 months ago

My change compiles on java 8, as it uses reflection for accessing record metadata

majst01 commented 10 months ago

OK, then open a PR and we can have a look