* 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
|
||||
|
||||
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
|
||||
<dependency>
|
||||
<groupId>com.microsoft.azure.kusto</groupId>
|
||||
<artifactId>kusto-ingest</artifactId>
|
||||
<version>2.1.2</version>
|
||||
<version>[see badge below]</version>
|
||||
</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
|
||||
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
|
||||
HttpClientProperties httpClientProperties = HttpClientProperties.builder()
|
||||
.proxy(new HttpHost("1.2.3.4", 8989))
|
||||
.credentialsProvider(credentialsProvider)
|
||||
.build();
|
||||
|
||||
Client = ClientFactory.createClient(<engine_connection_string>, httpClientProperties);
|
||||
|
|
Загрузка…
Ссылка в новой задаче