diff --git a/src/main/java/com/influxdb/v3/client/InfluxDBClient.java b/src/main/java/com/influxdb/v3/client/InfluxDBClient.java index 186dfc52..87a3dd51 100644 --- a/src/main/java/com/influxdb/v3/client/InfluxDBClient.java +++ b/src/main/java/com/influxdb/v3/client/InfluxDBClient.java @@ -483,7 +483,8 @@ Stream queryBatches(@Nonnull final String query, * Creates a new instance of the {@link InfluxDBClient} for interacting with an InfluxDB server, simplifying * common operations such as writing, querying. * - * @param host the URL of the InfluxDB server + * @param host the URL of the InfluxDB server.
+ * NOTE: IPv6 must be wrapped inside square brackets .e.g: http://[2001:db8::1]. * @param token the authentication token for accessing the InfluxDB server, can be null * @param database the database to be used for InfluxDB operations, can be null * @return new instance of the {@link InfluxDBClient} @@ -505,7 +506,8 @@ static InfluxDBClient getInstance(@Nonnull final String host, * Creates a new instance of the {@link InfluxDBClient} for interacting with an InfluxDB server, simplifying * common operations such as writing, querying. * - * @param host the URL of the InfluxDB server + * @param host the URL of the InfluxDB server.
+ * NOTE: IPv6 must be wrapped inside square brackets .e.g: http://[2001:db8::1]. * @param token the authentication token for accessing the InfluxDB server, can be null * @param database the database to be used for InfluxDB operations, can be null * @param defaultTags tags to be added by default to writes of points @@ -561,7 +563,8 @@ static InfluxDBClient getInstance(@Nonnull final ClientConfig config) { *
  • writeUseV2Api - use V2 API endpoint
  • * * - * @param connectionString connection string + * @param connectionString connection string.
    + * NOTE: IPv6 must be wrapped inside square brackets .e.g: http://[2001:db8::1]. * @return instance of {@link InfluxDBClient} */ @Nonnull @@ -584,7 +587,10 @@ static InfluxDBClient getInstance(@Nonnull final String connectionString) { *

    * Supported environment variables: *

    * Supported system properties: *