Skip to content

Commit 2354251

Browse files
committed
prep for release of version 3.1.1
1 parent 6348983 commit 2354251

File tree

4 files changed

+23
-10
lines changed

4 files changed

+23
-10
lines changed

CHANGELOG.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,20 @@
22
The format is based on [Keep a Changelog](http://keepachangelog.com/)
33
and this project adheres to [Semantic Versioning](http://semver.org/).
44

5-
## 3.1.1 (UNRELEASED)
5+
## 3.1.1 (04/08/2021)
6+
7+
#### Bugfixes
8+
- [Issue-51](https://github.com/SourceLabOrg/kafka-connect-client/issues/51) Can't set request timeout
9+
Previously `ConfigurationBuilder::useRequestTimeoutInSeconds()` was incorrectly setting the request time to live property instead of the request time out property. It's been updated to correctly set the request timeout value on the underlying http client.
10+
Additionally `ConfigurationBuilder::useConnectionTimeToLiveInSeconds()` was added to allow for setting the request time to live property on the underlying http client.
11+
12+
13+
Thanks [IvanZhilyakov28](https://github.com/IvanZhilyakov28) for supplying the bugfix!
614

715
#### Internal Dependency Updates
8-
- com.fasterxml.jackson.core from 2.10.4 -> 2.11.2
16+
- com.fasterxml.jackson.core from 2.10.4 -> 2.12.2
17+
- org.apache.httpcomponents from 4.5.12 -> 4.5.13
18+
- com.google.guava:guava from 29.0-jre -> - 30.1.1-jre
919

1020
## 3.1.0 (05/10/2020)
1121

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This client library is released on Maven Central. Add a new dependency to your
1414
<dependency>
1515
<groupId>org.sourcelab</groupId>
1616
<artifactId>kafka-connect-client</artifactId>
17-
<version>3.1.0</version>
17+
<version>3.1.1</version>
1818
</dependency>
1919
```
2020

pom.xml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>org.sourcelab</groupId>
88
<artifactId>kafka-connect-client</artifactId>
9-
<version>3.1.1-SNAPSHOT</version>
9+
<version>3.1.1</version>
1010
<packaging>jar</packaging>
1111

1212
<!-- Require Maven 3.3.9 -->
@@ -47,13 +47,13 @@
4747
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4848

4949
<!-- guava version -->
50-
<guava.version>29.0-jre</guava.version>
50+
<guava.version>30.1.1-jre</guava.version>
5151

5252
<!-- Http Components version -->
53-
<http-components.version>4.5.12</http-components.version>
53+
<http-components.version>4.5.13</http-components.version>
5454

5555
<!-- Jackson version -->
56-
<jackson.version>2.11.2</jackson.version>
56+
<jackson.version>2.12.2</jackson.version>
5757

5858
<!-- Define which version of junit you'll be running -->
5959
<junit.version>4.13.1</junit.version>
@@ -140,15 +140,15 @@
140140
<dependency>
141141
<groupId>commons-io</groupId>
142142
<artifactId>commons-io</artifactId>
143-
<version>2.7</version>
143+
<version>2.8.0</version>
144144
<scope>test</scope>
145145
</dependency>
146146

147147
<!-- Test Http/Https Client -->
148148
<dependency>
149149
<groupId>org.eclipse.jetty</groupId>
150150
<artifactId>jetty-server</artifactId>
151-
<version>9.4.31.v20200723</version>
151+
<version>9.4.39.v20210325</version>
152152
<scope>test</scope>
153153
</dependency>
154154

@@ -357,6 +357,9 @@
357357
<goals>
358358
<goal>jar</goal>
359359
</goals>
360+
<configuration>
361+
<source>8</source>
362+
</configuration>
360363
</execution>
361364
</executions>
362365
</plugin>

src/main/java/org/sourcelab/kafka/connect/apiclient/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public Configuration useRequestTimeoutInSeconds(final int requestTimeoutInSecond
166166
}
167167

168168
/**
169-
* Sets maximum time to live for persistent connections
169+
* Sets maximum time to live for persistent connections.
170170
* @param connectionTimeToLiveInSeconds How long before persistent connection will be interrupted, in seconds
171171
* @return Configuration instance.
172172
*/

0 commit comments

Comments
 (0)