Skip to content

Commit ba90c3f

Browse files
committed
Resolve conflict with master
2 parents b9dab85 + d079825 commit ba90c3f

File tree

63 files changed

+2010
-1265
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+2010
-1265
lines changed

.semaphore/semaphore.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,16 @@ blocks:
3737
jobs:
3838
- name: Test
3939
commands:
40-
- . ci-tools ci-update-version
40+
- . sem-pint -c
41+
- ci-tools ci-update-version
4142
- mvn -U -Dmaven.wagon.http.retryHandler.count=10 --batch-mode --no-transfer-progress clean verify install dependency:analyze validate
4243
- . cache-maven store
4344
epilogue:
4445
always:
4546
commands:
4647
- . publish-test-results
4748
- artifact push workflow target/test-results
49+
- artifact push workflow target
4850

4951
- name: Release
5052
dependencies: ["Test"]
@@ -54,16 +56,11 @@ blocks:
5456
jobs:
5557
- name: Release
5658
commands:
57-
- git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
58-
- git fetch --unshallow || true
59-
- pip install -q confluent-release-tools
60-
- pint merge --check-all
61-
- . ci-tools ci-update-version
62-
- . ci-tools ci-push-tag
63-
- mvn -U -Dmaven.wagon.http.retryHandler.count=10 --batch-mode -Pjenkins -DaltDeploymentRepository=confluent-codeartifact-internal::default::https://confluent-519856050701.d.codeartifact.us-west-2.amazonaws.com/maven/maven-snapshots/
59+
- ci-tools ci-update-version
60+
- ci-tools ci-push-tag
61+
- mvn -U -Dmaven.wagon.http.retryHandler.count=10 --batch-mode -DaltDeploymentRepository=confluent-codeartifact-internal::default::https://confluent-519856050701.d.codeartifact.us-west-2.amazonaws.com/maven/maven-snapshots/
6462
-DrepositoryId=confluent-codeartifact-internal deploy -DskipTests
6563

66-
6764
after_pipeline:
6865
task:
6966
agent:
@@ -80,7 +77,8 @@ after_pipeline:
8077
commands:
8178
- checkout
8279
- sem-version java 11
83-
- emit-sonarqube-data -a test-results
80+
- artifact pull workflow target
81+
- emit-sonarqube-data --run_only_sonar_scan
8482
- name: Trigger downstream projects
8583
commands:
8684
- >-

checkstyle/import_control.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,20 +130,25 @@
130130
<allow class="javax.security.auth.login.Configuration" />
131131
<allow class="scala.Option" />
132132
<allow class="scala.collection.JavaConverters" />
133+
<allow class="scala.collection.Seq" />
133134
<!-- b. Non-public Apache Kafka APIs -->
134135
<allow class="org.apache.kafka.clients.CommonClientConfigs" />
135136
<allow class="org.apache.kafka.common.config.types.Password" />
136137
<allow class="org.apache.kafka.common.network.ListenerName" />
137138
<allow class="org.apache.kafka.common.protocol.Errors" />
138139
<allow class="org.apache.kafka.common.security.JaasUtils" />
140+
<allow class="org.apache.kafka.metadata.authorizer.StandardAuthorizer" />
139141
<allow class="org.apache.kafka.test.TestSslUtils" />
140142
<!-- c. Non-public Confluent Community Kafka APIs -->
141143
<allow class="kafka.admin.AclCommand" />
142144
<allow class="kafka.security.authorizer.AclAuthorizer" />
143145
<allow class="kafka.server.KafkaConfig" />
144146
<allow class="kafka.server.KafkaServer" />
147+
<allow class="kafka.server.KafkaBroker" />
148+
<allow class="kafka.server.QuorumTestHarness" />
145149
<allow class="kafka.utils.CoreUtils" />
146150
<allow class="kafka.utils.TestUtils" />
151+
<allow class="kafka.utils.TestInfoUtils" />
147152
<allow class="kafka.zk.EmbeddedZookeeper" />
148153

149154
</import-control>

kafka-rest/pom.xml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>io.confluent</groupId>
99
<artifactId>kafka-rest-parent</artifactId>
10-
<version>7.6.1-0</version>
10+
<version>7.7.0-0</version>
1111
</parent>
1212

1313
<artifactId>kafka-rest</artifactId>
@@ -111,6 +111,11 @@
111111
<artifactId>junit-jupiter-engine</artifactId>
112112
<scope>test</scope>
113113
</dependency>
114+
<dependency>
115+
<groupId>org.junit.jupiter</groupId>
116+
<artifactId>junit-jupiter-params</artifactId>
117+
<scope>test</scope>
118+
</dependency>
114119
<dependency>
115120
<groupId>org.apache.kafka</groupId>
116121
<artifactId>kafka_${kafka.scala.version}</artifactId>
@@ -173,6 +178,11 @@
173178
<artifactId>jersey-apache-connector</artifactId>
174179
<scope>test</scope>
175180
</dependency>
181+
<dependency>
182+
<groupId>org.xerial.snappy</groupId>
183+
<artifactId>snappy-java</artifactId>
184+
<scope>test</scope>
185+
</dependency>
176186
</dependencies>
177187

178188

@@ -235,16 +245,16 @@
235245
</configuration>
236246
</plugin>
237247

238-
<plugin>
239-
<groupId>com.diffplug.spotless</groupId>
240-
<artifactId>spotless-maven-plugin</artifactId>
248+
<plugin>
249+
<groupId>com.diffplug.spotless</groupId>
250+
<artifactId>spotless-maven-plugin</artifactId>
241251
<executions>
242-
<execution>
243-
<goals>
244-
<goal>check</goal>
245-
</goals>
246-
</execution>
247-
</executions>
252+
<execution>
253+
<goals>
254+
<goal>check</goal>
255+
</goals>
256+
</execution>
257+
</executions>
248258
</plugin>
249259
</plugins>
250260
</build>

kafka-rest/src/main/java/io/confluent/kafkarest/KafkaRestConfig.java

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -959,17 +959,25 @@ public KafkaRestConfig(Properties props) {
959959
this(config, props);
960960
}
961961

962+
public KafkaRestConfig(Properties props, boolean doLog) {
963+
this(config, props, doLog);
964+
}
965+
962966
public KafkaRestConfig(ConfigDef configDef, Properties props) {
963-
super(configDef, props);
964-
metricsContext =
965-
new KafkaRestMetricsContext(
966-
getString(METRICS_JMX_PREFIX_CONFIG), originalsWithPrefix(METRICS_CONTEXT_PREFIX));
967+
this(configDef, props, true);
967968
}
968969

969970
public KafkaRestConfig(ConfigDef configDef, Properties props, Time time) {
970971
this(configDef, props);
971972
}
972973

974+
public KafkaRestConfig(ConfigDef configDef, Properties props, boolean doLog) {
975+
super(configDef, props, doLog);
976+
metricsContext =
977+
new KafkaRestMetricsContext(
978+
getString(METRICS_JMX_PREFIX_CONFIG), originalsWithPrefix(METRICS_CONTEXT_PREFIX));
979+
}
980+
973981
/**
974982
* Callers of this function are advised to use the return value as a configuration object as it
975983
* can hide sensitive information in logging.

0 commit comments

Comments
 (0)