Is InfluxDB java client is thread safe?


Hi, I’m new to influx db and I’m using the influxdb java client ver 2.9 to perform synchronous writes for multiple measurements. So in order to achieve this concurrently, I wanted to know if instance of a InfluxDB Database adapter (InfluxDBFactory.connect(connectString, user, password)) is thread safe ?



Hi Arti,

Thanks for posting to the community site! I believe the InfluxDB java client is thread safe, yes. It is referenced in a similar issue, here.

Good luck,