Skip to content

Commit 1b121a0

Browse files
committed
New changes
1 parent ffdc09b commit 1b121a0

File tree

4 files changed

+28
-5
lines changed

4 files changed

+28
-5
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Each line is a file pattern followed by one or more owners.
22
# These owners will be the default owners for everything in
33
# the repo.
4-
* @confluentinc/connect-team1
4+
* @confluentinc/connect-cloud

pom.xml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>io.confluent</groupId>
77
<artifactId>common</artifactId>
8-
<version>6.1.16-32</version>
8+
<version>6.0.0</version>
99
</parent>
1010

1111
<groupId>io.confluent</groupId>
@@ -52,14 +52,14 @@
5252
<confluent.maven.repo>http://packages.confluent.io/maven/</confluent.maven.repo>
5353
<commons.codec.version>1.15</commons.codec.version>
5454
<snakeyaml.version>1.28</snakeyaml.version>
55-
<confluent.version>6.1.15</confluent.version>
55+
<jackson.version>2.16.0</jackson.version>
5656
</properties>
5757

5858
<repositories>
5959
<repository>
6060
<id>confluent</id>
6161
<name>Confluent</name>
62-
<url>https://packages.confluent.io/maven/</url>
62+
<url>http://packages.confluent.io/maven/</url>
6363
</repository>
6464
</repositories>
6565

@@ -157,6 +157,12 @@
157157
<type>test-jar</type>
158158
<scope>test</scope>
159159
</dependency>
160+
<!-- Use a repackaged version of log4j with security patches. Default log4j v1.2 is a transitive dependency of connect-runtime, but it is excluded in common/pom.xml -->
161+
<dependency>
162+
<groupId>io.confluent</groupId>
163+
<artifactId>confluent-log4j</artifactId>
164+
<scope>test</scope>
165+
</dependency>
160166
<dependency>
161167
<groupId>org.apache.kafka</groupId>
162168
<artifactId>connect-runtime</artifactId>
@@ -228,6 +234,22 @@
228234
<version>${confluent.version}</version>
229235
<scope>test</scope>
230236
</dependency>
237+
<!-- Bumping the common package version resulted in a few build issues which cannot be resolved until the next CP release. Hence pinning the Jackson packages. After the CP release, we can bump the common version and remove the Jackson packages from this pom.-->
238+
<dependency>
239+
<groupId>com.fasterxml.jackson.core</groupId>
240+
<artifactId>jackson-databind</artifactId>
241+
<version>${jackson.version}</version>
242+
</dependency>
243+
<dependency>
244+
<groupId>com.fasterxml.jackson.core</groupId>
245+
<artifactId>jackson-core</artifactId>
246+
<version>${jackson.version}</version>
247+
</dependency>
248+
<dependency>
249+
<groupId>com.fasterxml.jackson.core</groupId>
250+
<artifactId>jackson-annotations</artifactId>
251+
<version>${jackson.version}</version>
252+
</dependency>
231253
</dependencies>
232254

233255
<build>

src/main/java/io/confluent/connect/elasticsearch/bulk/BulkResponse.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public static BulkResponse success() {
5858
* @param retriable whether the error is retriable
5959
* @param errorInfo the error string
6060
* @param failedRecords map of failed records and their results. Never null.
61+
* @return
6162
*/
6263
public static BulkResponse failure(
6364
boolean retriable,

src/main/java/io/confluent/connect/elasticsearch/jest/JestElasticsearchClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public static HttpClientConfig getClientConfig(ElasticsearchSinkConnectorConfig
193193
builder.defaultCredentials(config.username(), config.password().value())
194194
.preemptiveAuthTargetHosts(
195195
addresses.stream().map(addr -> HttpHost.create(addr)).collect(Collectors.toSet())
196-
);
196+
);
197197
}
198198

199199
configureProxy(config, builder);

0 commit comments

Comments
 (0)