* Update README with new maven version to use (#262)
* * Update README with new maven version to use * Credentials provider is not supported in the new revision. Removed the reference * * Add maven version badge instead of hardcoding the version * * Add maven version so that it is easy to integrate into POM * * Add maven version so that it is easy to integrate into POM Co-authored-by: AsafMah <asafmahlev@microsoft.com>
This commit is contained in:
Родитель
f9c0ce774a
Коммит
817fc382fe
|
@ -18,14 +18,16 @@ This library contains 3 different modules:
|
||||||
|
|
||||||
## Maven
|
## Maven
|
||||||
|
|
||||||
This method is the easiest to follow, just add the following dependency to your pom.xml:
|
This method is the easiest to follow, just add the following dependency to your pom.xml (with the right version tag from maven central):
|
||||||
```xml
|
```xml
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.microsoft.azure.kusto</groupId>
|
<groupId>com.microsoft.azure.kusto</groupId>
|
||||||
<artifactId>kusto-ingest</artifactId>
|
<artifactId>kusto-ingest</artifactId>
|
||||||
<version>2.1.2</version>
|
<version>[see badge below]</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.microsoft.azure.kusto/kusto-ingest/badge.svg?style=plastic)](https://maven-badges.herokuapp.com/maven-central/com.microsoft.azure.kusto/kusto-ingest)
|
||||||
|
|
||||||
|
|
||||||
## Clone
|
## Clone
|
||||||
Download the source code, compile and install locally.
|
Download the source code, compile and install locally.
|
||||||
|
@ -58,7 +60,6 @@ Alternatively, you can define a proxy programmatically when creating a client, u
|
||||||
```java
|
```java
|
||||||
HttpClientProperties httpClientProperties = HttpClientProperties.builder()
|
HttpClientProperties httpClientProperties = HttpClientProperties.builder()
|
||||||
.proxy(new HttpHost("1.2.3.4", 8989))
|
.proxy(new HttpHost("1.2.3.4", 8989))
|
||||||
.credentialsProvider(credentialsProvider)
|
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
Client = ClientFactory.createClient(<engine_connection_string>, httpClientProperties);
|
Client = ClientFactory.createClient(<engine_connection_string>, httpClientProperties);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче