-1

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?

1
  • 1
    Have you considered consulting the documentation?
    – user207421
    Commented Apr 22 at 2:32

1 Answer 1

1

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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.