kafka/checkstyle
Christopher L. Shannon bd6d0fbf3d
KAFKA-16437 Upgrade to Jakarta and Jetty 12 (KIP-1032) (#16754)
This commit implements the changes for KIP-1032. This updates Kafka to Jakarta specs, JavaEE 10 and Jetty 12. The changes here primarily effect Kafka Connect and MM2.

Todo/Notes:

1) I bumped the connect modules to JDK 17 but I also had to bump a couple other things that had a dependency on conect. The tools project depends on connect so that had to be bumped, and streams depends on tools so that needed to be bumped. This means we may need to separate some things if we don't want to enforce JDK 17 on streams.

2) There is an issue with a test in DedicatedMirrorIntegrationTest that I had to change for now that involves escaping characters and not quite sure what to do about it yet. The cause is the Servlet 6 spec changing what is allowed in the path. See: Jetty 12: 400: Ambiguous URI path encoding for path <%=FOO%>~1 (encoded: %3C%25%3DFOO%25%3E%7E1) jetty/jetty.project#11890

3) I had to configure the idle timeout in Jetty requests to match our request timeout so tests didn't fail. This was needed to fix the ConnectWorkerIntegrationTest#testPollTimeoutExpiry() test

Testing is being done by just using the existing tests for Connect and MM2 which should be sufficient.

Reviewers: Greg Harris <greg.harris@aiven.io>, David Arthur <mumrah@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com>
2024-12-11 23:24:14 +08:00
..
.scalafmt.conf MINOR: Update to Scala 2.13.12 (#14430) 2023-09-24 06:05:12 -07:00
checkstyle.xml KAFKA-18050 Upgrade the checkstyle version to 10.20.2 (#17999) 2024-12-05 10:59:18 +08:00
import-control-coordinator-common.xml KAFKA-17367: Introduce share coordinator [2/N] (#17011) 2024-09-09 20:01:24 -04:00
import-control-core.xml KAFKA-17837 Rewrite DeleteTopicTest (#17579) 2024-11-10 03:06:52 +08:00
import-control-group-coordinator.xml KAFKA-17593; [2/N] Update request validation & validate regex (#17651) 2024-11-04 06:38:09 -08:00
import-control-jmh-benchmarks.xml KAFKA-17569 Rewrite TestLinearWriteSpeed by Java (#17736) 2024-11-26 23:43:01 +08:00
import-control-metadata.xml KAFKA-16518: Implement KIP-853 flags for storage-tool.sh (#16669) 2024-08-02 15:47:45 -07:00
import-control-server-common.xml KAFKA-17890: Move DelayedOperationPurgatory to server-common (#17636) 2024-11-08 09:55:09 +01:00
import-control-server.xml KAFKA-17563 Move `RequestConvertToJson` to server module (#17223) 2024-09-27 02:19:47 +08:00
import-control-share-coordinator.xml KAFKA-17367: Share coordinator persistent batch merging algorithm. [3/N] (#17149) 2024-10-02 11:30:51 -04:00
import-control-share.xml KAFKA-17970 Moving some share purgatory classes from core to share module (#17722) 2024-11-10 01:04:17 +08:00
import-control-storage.xml MINOR Quarantine some flaky tests (#17779) 2024-11-12 19:34:44 -05:00
import-control-test-common-api.xml KAFKA-17706 Allow all imports for test-common and test-common-api (#17378) 2024-10-06 14:02:10 +08:00
import-control-test-common.xml KAFKA-17837 Rewrite DeleteTopicTest (#17579) 2024-11-10 03:06:52 +08:00
import-control-transaction-coordinator.xml KAFKA-17835 Move ProducerIdManager and RPCProducerIdManager to transaction-coordinator module (#17562) 2024-10-31 02:40:47 +08:00
import-control.xml KAFKA-16437 Upgrade to Jakarta and Jetty 12 (KIP-1032) (#16754) 2024-12-11 23:24:14 +08:00
java.header MINOR: improve license header check by providing head file instead of (prefix) header regex 2017-02-28 12:35:04 -08:00
suppressions.xml KAFKA-18129 Simplifying share partition maybeInitialize code (#18093) 2024-12-09 03:02:10 +08:00