You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,8 @@
1
+
## 2.1.0 [in progress]
2
+
### Documentation
3
+
1.[#189](https://github.com/influxdata/influxdb-client-go/pull/189) Added clarification that server URL has to be the InfluxDB server base URL to API docs and all examples.
4
+
5
+
1
6
## 2.0.1 [2020-08-14]
2
7
### Bug fixes
3
8
1.[#187](https://github.com/influxdata/influxdb-client-go/pull/187) Properly updated library for new major version.
@@ -140,7 +140,7 @@ Client offers two ways of writing, non-blocking and blocking.
140
140
141
141
### Non-blocking write client
142
142
Non-blocking write client uses implicit batching. Data are asynchronously
143
-
written to the underlying buffer and they are automatically sent to a server when the size of the write buffer reaches the batch size, default 1000, or the flush interval, default 1s, times out.
143
+
written to the underlying buffer and they are automatically sent to a server when the size of the write buffer reaches the batch size, default 5000, or the flush interval, default 1s, times out.
144
144
Writes are automatically retried on server back pressure.
145
145
146
146
This write client also offers synchronous blocking method to ensure that write buffer is flushed and all pending writes are finished,
@@ -161,7 +161,8 @@ import (
161
161
)
162
162
163
163
funcmain() {
164
-
// Create client and set batch size to 20
164
+
// Create a new client using an InfluxDB server base URL and an authentication token
// Supply a string in the form database/retention-policy as a bucket. Skip retention policy for the default one, use just a database name (without the slash character)
0 commit comments