Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dpoluyanov authored Apr 4, 2018
1 parent 8481e3c commit 58f986e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ Client comes with bunch of configurable options. So start with `ClickHouseClient
For instance we have ClickHouse cluster defined on `awesome-ch-cluster-ea1.amazon.com` at port `8999` and want to connect as user `customer` to database `examples` with our client like below:
```java
var client = ClickHouseClient.bootstrap()
.remote("awesome-ch-cluster-ea1.amazon.com", 8999)
.username("customer")
.database("examples");
.remote("awesome-ch-cluster-ea1.amazon.com", 8999)
.username("customer")
.database("examples");
```

This is cheap client creation that doesn't block your cpu for a long time.
Expand Down

0 comments on commit 58f986e

Please sign in to comment.