I am now using jdbc API included in Apache IoTDB. When I try to setpublic static Connection getConnection(){String driver ="org.apache.iotdb.jdbc.IoTDBDriver'; String url = "jdbc:iotdb://127.0.0.1:6667/";}
, I want to know can I write multiple IP addresses in the cluster for this string url? If so, what format should I write the other IP addresses? If not, how to ensure this setting in IoTDB?
-
1Have you considered consulting the documentation?– user207421Commented Apr 22 at 2:32
Add a comment
|
1 Answer
If you are using JDBC API in Apache IoTDB, then you cannot set multiple IPs here. You can see if you can switch to use session API, so that you can write multiple IPs here.