Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
179 commits
Select commit Hold shift + click to select a range
da055f1
KAFKA-14013: Limit the length of the `reason` field sent on the wire …
Jul 12, 2022
48f019a
KAFKA-14062: OAuth client token refresh fails with SASL extensions (#…
kirktrue Jul 12, 2022
ca7a5ce
KAFKA-13968: Fix 3 major bugs of KRaft snapshot generating (#12265)
dengziming Jul 12, 2022
1b52eea
MINOR: Run MessageFormatChangeTest in ZK mode only (#12395)
ahuang98 Jul 13, 2022
8e92551
KAFKA-14008: Add docs for Streams throughput metrics introduced in KI…
clolov Jul 14, 2022
6600078
KAFKA-13043: Implement Admin APIs for offsetFetch batching (#10964)
skaundinya15 Jul 14, 2022
6107806
MINOR: Fix options for old-style Admin.listConsumerGroupOffsets (#12406)
rajinisivaram Jul 15, 2022
a0a5290
KAFKA-13572 Fix negative preferred replica imbalanced count metric (#…
ocadaruma Jul 18, 2022
9dd25ec
KAFKA-13769 Fix version check in SubscriptionJoinForeignProcessorSupp…
Gerrrr Jul 18, 2022
45009ef
Revert "KAFKA-12887 Skip some RuntimeExceptions from exception handle…
wcarlson5 Jul 19, 2022
9aabf49
KAFKA-14024: Consumer keeps Commit offset in onJoinPrepare in Coopera…
aiquestion Jul 20, 2022
7a04de4
KAFKA-14020: Performance regression in Producer (#12365)
artemlivshits Jul 20, 2022
3274395
KAFKA-14076: Fix issues with KafkaStreams.CloseOptions (#12408)
jnh5y Jul 21, 2022
95dc3fd
Merge branch '3.3' of https://github.com/apache/kafka into 3.3
showuon Jul 22, 2022
158fc5f
KAFKA-13919: expose log recovery metrics (#12347)
showuon Jul 22, 2022
1f34bde
KAFKA-14093: Use single-worker Connect cluster when testing fenced le…
C0urante Jul 25, 2022
ebd63b5
KAFKA-14078; Do leader/epoch validation in Fetch before checking for …
hachikuji Jul 25, 2022
8ffd1b4
KAFKA-14039 Fix AlterConfigPolicy usage in KRaft (#12374)
mumrah Jul 15, 2022
64ebc76
KAFKA-14079 - Ack failed records in WorkerSourceTask when error toler…
cshannon Jul 18, 2022
dc08665
KAFKA-14089: Only check for committed seqnos after disabling exactly-…
C0urante Jul 28, 2022
e607f10
MINOR; Synchronize access to snapshots' TreeMap (#12464)
jsancio Aug 1, 2022
a687d4d
KAFKA-14111 Fix sensitive dynamic broker configs in KRaft (#12455)
mumrah Aug 3, 2022
9864360
MINOR; Use right enum value for broker registration change (#12236)
dengziming Aug 2, 2022
953a3a5
MINOR: Update comment on verifyTaskGenerationAndOwnership method in D…
yashmayya Jul 28, 2022
3fa3272
KAFKA-14136 Generate ConfigRecord for brokers even if the value is un…
mumrah Aug 4, 2022
eed9192
KAFKA-14107: Upgrade Jetty version for CVE fixes (#12440)
ajborley Aug 5, 2022
2dafe45
KAFKA-14104; Add CRC validation when iterating over Metadata Log Reco…
niket-goel Aug 8, 2022
9fda5fc
KAFKA-14144:; Compare AlterPartition LeaderAndIsr before fencing part…
splett2 Aug 9, 2022
ce7d0f5
MINOR: BrokerMetadataSnapshotter must avoid exceeding batch size (#12…
cmccabe Aug 9, 2022
8db3f09
KAFKA-14124: improve quorum controller fault handling (#12447)
cmccabe Aug 5, 2022
2ee5890
MINOR: add :server-common test dependency to :storage (#12488)
cmccabe Aug 6, 2022
bbd6593
KAFKA-14129: KRaft must check manual assignments for createTopics are…
cmccabe Aug 2, 2022
4a94d25
MINOR: convert some more junit tests to support KRaft (#12456)
cmccabe Jul 29, 2022
480e979
KAFKA-13166 Fix missing ControllerApis error handling (#12403)
mumrah Jul 26, 2022
1122943
MINOR: Convert some junit tests to kraft (#12443)
cmccabe Jul 27, 2022
8c8cb11
KAFKA-14051: Create metrics reporters in KRaft remote controllers (#1…
rondagostino Jul 21, 2022
f3cf6db
KAFKA-14114: Add Metadata Error Related Metrics
niket-goel Jul 28, 2022
af40e11
KAFKA-14140: Ensure an offline or in-controlled-shutdown replica is n…
jolshan Aug 10, 2022
42a6078
Fix the rate window size calculation for edge cases (#12184)
divijvaidya Aug 10, 2022
4422958
KAFKA-13986; Brokers should include node.id in fetches to metadata qu…
hachikuji Aug 11, 2022
36ff5d5
KAFKA-14154; Return NOT_CONTROLLER from AlterPartition if leader is a…
hachikuji Aug 11, 2022
5cfd248
KAFKA-13959: Controller should unfence Broker with busy metadata log …
dengziming Aug 12, 2022
a2110e6
MINOR: Add note on IDEMPOTENT_WRITE ACL to notable changes (#12260)
d-t-w Aug 13, 2022
16a7713
KAFKA-14154; Kraft controller should return NOT_CONTROLLER if request…
hachikuji Aug 15, 2022
bfac783
KAFKA-14148: Update ResetOffsetsDoc (#12491)
k8scat Aug 16, 2022
0ac9c34
KAFKA-13940; Return NOT_LEADER_OR_FOLLOWER if DescribeQuorum sent to …
hachikuji Aug 17, 2022
81c4426
KAFKA-14167; Completion exceptions should not be translated directly …
hachikuji Aug 18, 2022
26ffdd7
MINOR: Fix unexpected request error in kraft shutdown (#12538)
hachikuji Aug 19, 2022
b4b57db
KAFKA-13888; Implement `LastFetchTimestamp` and in `LastCaughtUpTime…
niket-goel Aug 19, 2022
7d055d6
KAFKA-13914: Add command line tool kafka-metadata-quorum.sh (#12469)
dengziming Aug 20, 2022
804caf1
KAFKA-14178 Don't record queue time for deferred events (#12551)
mumrah Aug 24, 2022
7de861c
resolve merge conflict
bbejeck Aug 24, 2022
12759d6
MINOR: A few cleanups for DescribeQuorum APIs (#12548)
hachikuji Aug 24, 2022
ae15c64
KAFKA-13850: Show missing record type in MetadataShell (#12103)
dengziming Aug 25, 2022
8151af1
MINOR: Dump log tool should support bootstrap checkpoint (#12556)
hachikuji Aug 25, 2022
c3c36ef
MINOR; Update upgrade documentation for 3.3 (#12550)
jsancio Aug 26, 2022
138116e
KAFKA-14177: Correctly support older kraft versions without FeatureLe…
cmccabe Aug 26, 2022
478de45
KAFKA-14183; Cluster metadata bootstrap file should use header/footer…
jsancio Aug 28, 2022
ba16588
MINOR: Displaying default entity name in MetadataShell (#12053)
dengziming Aug 30, 2022
95d1247
MINOR: Add KRaft broker api to protocol docs (#11786)
dengziming Aug 30, 2022
26a884c
KAFKA-14187: kafka-features.sh: add support for --metadata (#12571)
cmccabe Aug 30, 2022
c1c7f2a
MINOR: Enable testUpdateFeaturesWithForwarding (#12059)
dengziming Aug 31, 2022
562c30f
KAFKA-13990: KRaft controller should return right features in ApiVers…
dengziming Aug 31, 2022
c4fd780
KAFKA-14170: Fix NPE in the deleteTopics() code path of KRaft Control…
akhileshchg Aug 19, 2022
b7e9fc8
KAFKA-14122: Fix flaky test DynamicBrokerReconfigurationTest#testKeyS…
divijvaidya Aug 2, 2022
8b25ff1
KAFKA-14195: Fix KRaft AlterConfig policy usage for Legacy/Full case …
rondagostino Sep 1, 2022
387bcf4
HOTFIX: fix PriorityQueue iteration to assign warmups in priority ord…
ableegoldman Sep 2, 2022
e110c31
MINOR; Fix LICENSE-binary based on the 3.3 dependencies (#12579)
jsancio Sep 6, 2022
9cd54f5
KAFKA-14200: kafka-features.sh must exit with non-zero error code on …
cmccabe Sep 7, 2022
fa38346
MINOR; Retry on test failure for branch builds and increase max test …
ijuma Sep 8, 2022
b2b9283
MINOR: Add more validation during KRPC deserialization
cmccabe May 20, 2022
015d7ae
MINOR: Add configurable max receive size for SASL authentication requ…
omkreddy May 16, 2022
51ace63
KAFKA-14143: Exactly-once source connector system tests (#11783)
C0urante Sep 8, 2022
e8b0dc9
KAFKA-14204: QuorumController must correctly handle overly large batc…
cmccabe Sep 8, 2022
cfa1f09
KAFKA-14201; Consumer should not send group instance ID if committing…
dajac Sep 8, 2022
7131724
KAFKA-14201; Consumer should not send group instance ID if committing…
dajac Sep 8, 2022
408a17a
KAFKA-14188; Getting started for Kafka with KRaft (#12604)
jsancio Sep 8, 2022
c5499a6
MINOR; Remove redundant version system test (#12612)
hachikuji Sep 9, 2022
1df0220
KAFKA-14194: Fix NPE in Cluster.nodeIfOnline (#12584)
ndrwdn Sep 5, 2022
1eedaca
KAFKA-14198; swagger-jaxrs2 dependency should be compileOnly (#12609)
ijuma Sep 9, 2022
cb31f9a
KAFKA-14217: app-reset-tool.html should not show --zookeeper flag tha…
cmccabe Sep 12, 2022
e0297e3
KAFKA-14216: Remove ZK reference from org.apache.kafka.server.quota.C…
cmccabe Sep 12, 2022
89f7f31
KAFKA-14203 Disable snapshot generation on broker after metadata erro…
mumrah Sep 12, 2022
96869af
KAFKA-14205; Document how to replace the disk for the KRaft Controlle…
jsancio Sep 12, 2022
b2639c8
Remove the html end tag from upgrade.html
jsancio Sep 7, 2022
6f1c1b0
MINOR; Remove end html tag from upgrade (#12605)
jsancio Sep 8, 2022
85fc267
KAFKA-14215; Ensure forwarded requests are applied to broker request …
hachikuji Sep 13, 2022
14df199
KAFKA-14196; Do not continue fetching partitions awaiting auto-commit…
philipnee Sep 13, 2022
389bb20
KAFKA-14208; Do not raise wakeup in consumer during asynchronous offs…
hachikuji Sep 13, 2022
9633c01
KAFKA-14222; KRaft's memory pool should always allocate a buffer (#12…
jsancio Sep 13, 2022
6c745b5
MINOR: Add upgrade note regarding the Strictly Uniform Sticky Partiti…
artemlivshits Sep 13, 2022
42bbc95
MINOR: Mention that kraft is production ready in upgrade notes (#12635)
ijuma Sep 14, 2022
545a006
MINOR; Add missing li end tag (#12640)
jsancio Sep 14, 2022
2b53b60
MINOR: Adds KRaft versions of most streams system tests (#12458)
AlanConfluent Aug 26, 2022
3b080a2
KAFKA-14156: Built-in partitioner may create suboptimal batches (#12570)
artemlivshits Sep 15, 2022
74c4bbf
KAFKA-14238; KRaft metadata log should not delete segment past the l…
jsancio Sep 17, 2022
c2c71ef
KAFKA-14233: disable testReloadUpdatedFilesWithoutConfigChange first …
showuon Sep 19, 2022
0c08c80
KAFKA-14240; Validate kraft snapshot state on startup (#12653)
hachikuji Sep 19, 2022
ebf3cfe
KAFKA-14243: Temporarily disable unsafe downgrade (#12664)
cmccabe Sep 20, 2022
f5f8ff0
KAFKA-14214: Introduce read-write lock to StandardAuthorizer for cons…
akhileshchg Sep 20, 2022
9d1f9f7
Bump version to 3.3.0
mumrah Sep 20, 2022
46e6269
MINOR: Remove ARM/PowerPC builds from Jenkinsfile (#12380)
hachikuji Aug 3, 2022
88ec4d0
KAFKA-14259: BrokerRegistration#toString throws an exception, termina…
cmccabe Sep 23, 2022
2e95280
MINOR: Adding KRaft Monitoring Related Metrics to docs/ops.html (#12679)
niket-goel Sep 26, 2022
6174f95
MINOR: update configuration.html with KRaft details (#12678)
mumrah Sep 26, 2022
9b8a48c
KAFKA-14207; KRaft Operations documentation (#12642)
jsancio Sep 26, 2022
1ce7bd7
MINOR: Update design docs to avoid zookeeper-specific assumptions (#1…
hachikuji Sep 26, 2022
03ddb27
MINOR: Add section on listener configuration (including kraft) to sec…
hachikuji Sep 27, 2022
07a4482
MINOR: Small update docs/design.html grammar and typo (#12691)
forlack Sep 27, 2022
da96ac9
Merge tag '3.3.0-rc2' into 3.3
mumrah Sep 28, 2022
4b35f24
Bump 3.3 branch to 3.3.1-SNAPSHOT
mumrah Sep 28, 2022
1780f26
KAFKA-14265: Prefix ACLs may shadow other prefix ACLs
cmccabe Sep 29, 2022
e23c59d
Bump version to 3.3.1
jsancio Sep 29, 2022
a4f72c4
MINOR; Update upgrade documentation for 3.3.1 (#12701)
jsancio Sep 29, 2022
cdb25e1
MINOR; Add missing code end tag (#12702)
jsancio Sep 29, 2022
c2d7984
MINOR: Fix delegation token system test (#12693)
mumrah Oct 2, 2022
8c98308
Merge tag '3.3.1' into 3.3
jsancio Oct 3, 2022
453bd44
MINOR; Bump to version 3.3.2 (#12708)
jsancio Oct 4, 2022
db065c3
MINOR: Fix link to Connect OpenAPI spec (#12713)
mimaison Oct 6, 2022
fcf8207
MINOR: Fix closing code tag in producer config docs (#12718)
mimaison Oct 6, 2022
f62f652
MINOR; Some sections are missing in the TOC (#12726)
jsancio Oct 11, 2022
e213674
KAFKA-14225; Fix deadlock caused by lazy val exemptSensor (#12634)
hshi2022 Oct 11, 2022
8506126
MINOR: fix indentation and add builders in some KRaft tests (#12720)
cmccabe Oct 7, 2022
7617f1a
KAFKA-14275; KRaft Controllers should crash after failing to apply an…
niket-goel Oct 11, 2022
eda3d76
KAFKA-14292; Fix KRaft controlled shutdown delay (#12736)
ahuang98 Oct 13, 2022
fd64b53
KAFKA-14296; Partition leaders are not demoted during kraft controlle…
dajac Oct 13, 2022
5aaf068
MINOR; Add kraft controller log level in log4j prop (#12707)
showuon Oct 14, 2022
a22125f
KAFKA-14209 : Integration tests 3/3 (#12676)
vpapavas Oct 7, 2022
b789cb2
KAFKA-14300; Generate snapshot after repeated controller resign (#12747)
jsancio Oct 18, 2022
5cd9c9b
KAFKA-14316; Fix feature control iterator metadata version handling (…
hachikuji Oct 18, 2022
9d64736
MINOR; Delete jqwik database (#12767)
hachikuji Oct 19, 2022
c42450e
MINOR: Mention deprecation of authorizer flags in security documentat…
hachikuji Sep 21, 2022
23b04ec
MINOR: Update security docs for kraft Authorizer configuration (#12673)
hachikuji Sep 22, 2022
8176519
MINOR: Appending value to LIST config should not generate empty strin…
chia7712 Aug 15, 2022
7bd43f5
KAFKA-14248; Fix flaky test PlaintextAdminIntegrationTest.testCreateT…
divijvaidya Sep 29, 2022
5992f51
MINOR: Add initial property tests for StandardAuthorizer (#12703)
hachikuji Oct 4, 2022
e8c6a7b
MINOR; Fix error message when validating KRaft config (#12717)
jsancio Oct 7, 2022
3acf151
MINOR: Fix incorrect example in feature command help (#12732)
hachikuji Oct 12, 2022
97606dc
MINOR; Delete config/kraft/README.me (#12688)
ijuma Oct 14, 2022
4c63f7e
MINOR: Update the README file in examples. (#12272)
liuzhuang2017 Oct 18, 2022
1fff2a1
MINOR: Inline "Running a Kafka broker in KRaft mode" (#12750)
ijuma Oct 18, 2022
df30d95
MINOR: Fix PartitionRegistration.hashCode (#12774)
hachikuji Oct 20, 2022
5d6f8d3
MINOR: Address flakiness in `KRaftClusterTest::testDescribeQuorumRequ…
niket-goel Oct 17, 2022
e3f8954
MINOR: Migrate connect system tests to KRaft (#12621)
srishti-saraswat Oct 27, 2022
026f98f
KAFKA-14337; Correctly remove topicsWithCollisionChars after topic de…
showuon Oct 28, 2022
97d7b92
Merge branch '3.3' of https://github.com/apache/kafka into 3.3
showuon Nov 5, 2022
846f404
Revert "KAFKA-13891: reset generation when syncgroup failed with REBA…
aiquestion Nov 5, 2022
8ca6d73
KAFKA-14282: stop tracking Produced sensors by processor node id (#1…
ableegoldman Nov 12, 2022
1922a61
[KAFKA-14324] Upgrade RocksDB to 7.1.2 (#12809)
clolov Nov 12, 2022
a310cc8
KAFKA-14334: Complete delayed purgatory after replication (#12783)
jeffkbkim Nov 16, 2022
87a886b
KAFKA-14388 - Fixes the NPE when using the new Processor API with the…
bbejeck Nov 16, 2022
e05224e
KAFKA-14303 Producer.send without record key and batch.size=0 goes in…
soarez Nov 18, 2022
80e4f42
KAFKA-13586: Prevent exception thrown during connector update from cr…
dstelljes Nov 18, 2022
9f3cbd8
KAFKA-14320: Updated Jackson to version 2.13.4 for fixing CVE-2022-42…
pratimsc Nov 18, 2022
6f45f18
KAFKA-14382: wait for current rebalance to complete before triggering…
ableegoldman Nov 19, 2022
2c1c1ca
HOTFIX: re-add line resetting rebalance schedule missing from hotfix
ableegoldman Nov 19, 2022
5babc98
KAFKA-14325: Fix NPE on Processor Parameters toString (#12859)
jeqo Nov 21, 2022
9bc80ab
KAFKA-14212: Enhance HttpAccessTokenRetriever to retrieve error messa…
smjn Sep 20, 2022
fd3bf0c
KAFKA-14372: Choose replicas only from ISR for preferred read replica…
jeffkbkim Nov 24, 2022
16938e5
KAFKA-14009: Rebalance timeout should be updated when static member r…
Stephan14 Nov 24, 2022
ceb2c69
KAFKA-14422; Consumer rebalance stuck after new static member joins a…
dajac Nov 28, 2022
0de727a
MINOR: JoinGroup and SyncGroup callbacks should catch exceptions (#12…
dajac Nov 29, 2022
a12ff28
KAFKA-14339 : Do not perform producerCommit on serializationError whe…
gharris1727 Nov 30, 2022
efea076
KAFKA-14430: Specify JMX RMI port system property when not already se…
funky-eyes Dec 2, 2022
0a7ea3f
KAFKA-14358; Disallow creation of cluster metadata topic (#12885)
jsancio Dec 2, 2022
0d1761a
KAFKA-14432: RocksDBStore relies on finalizers to not leak memory (#1…
lucasbru Dec 8, 2022
d424aea
KAFKA-14417: Producer doesn't handle REQUEST_TIMED_OUT for InitProduc…
jolshan Dec 6, 2022
4154a1c
KAFKA-14435: Fix `allow.everyone.if.no.acl.found` config behavior for…
emissionnebula Dec 5, 2022
7838e41
MINOR: add docs table entries for new metrics (#12934)
rodesai Dec 9, 2022
2e87992
KAFKA-14379: Consumer should refresh preferred read replica on update…
artemlivshits Dec 12, 2022
22af3f2
KAFKA-14392: Fix overly long request timeouts in BrokerToControllerCh…
rondagostino Dec 10, 2022
8d32c49
MINOR: Fix FetchFromFollowerIntegrationTest.testFetchFromFollowerWith…
artemlivshits Dec 14, 2022
69fbaf2
MINOR: update Streams upgrade guide for 3.1 release (#12926)
mjsax Dec 14, 2022
1dc070f
KAFKA-14496: Wrong Base64 encoder used by OIDC OAuthBearerLoginCallba…
kirktrue Dec 16, 2022
0b75a38
KAFKA-14417: Address incompatible error code returned by broker from …
jolshan Dec 19, 2022
7be2d9f
KAFKA-14532: Correctly handle failed fetch when partitions unassigned…
lucasbru Dec 21, 2022
228a2de
MINOR: Fix testPreferredReplicaAsLeaderWhenSameRackFollowerIsOutOfIsr…
CalvinConfluent Dec 21, 2022
e3212f2
KAFKA-14457; Controller metrics should only expose committed data (#1…
jsancio Dec 20, 2022
b66af66
Bump version to 3.3.2
C0urante Dec 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ systest/
*.swp
jmh-benchmarks/generated
jmh-benchmarks/src/main/generated
raft/.jqwik-database
**/.jqwik-database
**/src/generated
**/src/generated-test
73 changes: 1 addition & 72 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,10 @@ def isChangeRequest(env) {
env.CHANGE_ID != null && !env.CHANGE_ID.isEmpty()
}

def retryFlagsString(env) {
if (isChangeRequest(env)) " -PmaxTestRetries=1 -PmaxTestRetryFailures=5"
else ""
}

def doTest(env, target = "unitTest integrationTest") {
sh """./gradlew -PscalaVersion=$SCALA_VERSION ${target} \
--profile --no-daemon --continue -PtestLoggingEvents=started,passed,skipped,failed \
-PignoreFailures=true -PmaxParallelForks=2""" + retryFlagsString(env)
-PignoreFailures=true -PmaxParallelForks=2 -PmaxTestRetries=1 -PmaxTestRetryFailures=10"""
junit '**/build/test-results/**/TEST-*.xml'
}

Expand Down Expand Up @@ -160,72 +155,6 @@ pipeline {
echo 'Skipping Kafka Streams archetype test for Java 17'
}
}

stage('ARM') {
options {
timestamps()
}
environment {
SCALA_VERSION=2.12
}
stages {
stage('Check ARM Agent') {
agent { label 'arm4' }
options {
timeout(time: 5, unit: 'MINUTES')
}
steps {
echo 'ARM ok'
}
}
stage('Run ARM Build') {
agent { label 'arm4' }
options {
timeout(time: 2, unit: 'HOURS')
}
steps {
doValidation()
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
doTest(env, 'unitTest')
}
echo 'Skipping Kafka Streams archetype test for ARM build'
}
}
}
}

stage('PowerPC') {
options {
timestamps()
}
environment {
SCALA_VERSION=2.12
}
stages {
stage('Check PowerPC Agent') {
agent { label 'ppc64le' }
options {
timeout(time: 5, unit: 'MINUTES')
}
steps {
echo 'PowerPC ok'
}
}
stage('Run PowerPC Build') {
agent { label 'ppc64le' }
options {
timeout(time: 2, unit: 'HOURS')
}
steps {
doValidation()
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
doTest(env, 'unitTest')
}
echo 'Skipping Kafka Streams archetype test for PowerPC build'
}
}
}
}

// To avoid excessive Jenkins resource usage, we only run the stages
// above at the PR stage. The ones below are executed after changes
Expand Down
74 changes: 41 additions & 33 deletions LICENSE-binary
Original file line number Diff line number Diff line change
Expand Up @@ -207,46 +207,47 @@ License Version 2.0:

audience-annotations-0.5.0
commons-cli-1.4
commons-lang3-3.8.1
jackson-annotations-2.12.6
jackson-core-2.12.6
jackson-databind-2.12.6.1
jackson-dataformat-csv-2.12.6
jackson-datatype-jdk8-2.12.6
jackson-jaxrs-base-2.12.6
jackson-jaxrs-json-provider-2.12.6
jackson-module-jaxb-annotations-2.12.6
jackson-module-paranamer-2.10.5
jackson-module-scala_2.13-2.12.6
commons-lang3-3.12.0
jackson-annotations-2.13.4
jackson-core-2.13.4
jackson-databind-2.13.4.2
jackson-dataformat-csv-2.13.4
jackson-dataformat-yaml-2.13.4
jackson-datatype-jdk8-2.13.4
jackson-datatype-jsr310-2.13.4
jackson-jaxrs-base-2.13.4
jackson-jaxrs-json-provider-2.13.4
jackson-module-jaxb-annotations-2.13.4
jackson-module-scala_2.13-2.13.4
jackson-module-scala_2.12-2.13.4
jakarta.validation-api-2.0.2
javassist-3.27.0-GA
jetty-client-9.4.44.v20210927
jetty-continuation-9.4.44.v20210927
jetty-http-9.4.44.v20210927
jetty-io-9.4.44.v20210927
jetty-security-9.4.44.v20210927
jetty-server-9.4.44.v20210927
jetty-servlet-9.4.44.v20210927
jetty-servlets-9.4.44.v20210927
jetty-util-9.4.44.v20210927
jetty-util-ajax-9.4.44.v20210927
jetty-client-9.4.48.v20220622
jetty-continuation-9.4.48.v20220622
jetty-http-9.4.48.v20220622
jetty-io-9.4.48.v20220622
jetty-security-9.4.48.v20220622
jetty-server-9.4.48.v20220622
jetty-servlet-9.4.48.v20220622
jetty-servlets-9.4.48.v20220622
jetty-util-9.4.48.v20220622
jetty-util-ajax-9.4.48.v20220622
jersey-common-2.34
jersey-server-2.34
jose4j-0.7.9
lz4-java-1.8.0
maven-artifact-3.8.4
metrics-core-4.1.12.1
metrics-core-2.2.0
netty-buffer-4.1.73.Final
netty-codec-4.1.73.Final
netty-common-4.1.73.Final
netty-handler-4.1.73.Final
netty-resolver-4.1.73.Final
netty-tcnative-classes-2.0.46.Final
netty-transport-4.1.73.Final
netty-transport-classes-epoll-4.1.73.Final
netty-transport-native-epoll-4.1.73.Final
netty-transport-native-unix-common-4.1.73.Final
netty-buffer-4.1.78.Final
netty-codec-4.1.78.Final
netty-common-4.1.78.Final
netty-handler-4.1.78.Final
netty-resolver-4.1.78.Final
netty-transport-4.1.78.Final
netty-transport-classes-epoll-4.1.78.Final
netty-transport-native-epoll-4.1.78.Final
netty-transport-native-unix-common-4.1.78.Final
plexus-utils-3.3.0
reload4j-1.2.19
rocksdbjni-6.29.4.1
Expand All @@ -255,7 +256,13 @@ scala-library-2.13.8
scala-logging_2.13-3.9.4
scala-reflect-2.13.8
scala-java8-compat_2.13-1.0.2
snakeyaml-1.30
snappy-java-1.1.8.4
swagger-annotations-2.2.0
swagger-core-2.2.0
swagger-integration-2.2.0
swagger-jaxrs2-2.2.0
swagger-models-2.2.0
zookeeper-3.6.3
zookeeper-jute-3.6.3

Expand All @@ -268,8 +275,8 @@ See licenses/ for text of these licenses.
Eclipse Distribution License - v 1.0
see: licenses/eclipse-distribution-license-1.0

jakarta.activation-api-1.2.1
jakarta.xml.bind-api-2.3.2
jakarta.activation-api-1.2.2
jakarta.xml.bind-api-2.3.3

---------------------------------------
Eclipse Public License - v 2.0
Expand Down Expand Up @@ -305,6 +312,7 @@ argparse4j-0.7.0, see: licenses/argparse-MIT
jopt-simple-5.0.4, see: licenses/jopt-simple-MIT
slf4j-api-1.7.36, see: licenses/slf4j-MIT
slf4j-reload4j-1.7.36, see: licenses/slf4j-MIT
classgraph-4.8.138, see: license/classgraph-MIT

---------------------------------------
BSD 2-Clause
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,17 @@ fail due to code changes. You can just run:

./gradlew processMessages processTestMessages

### Running a Kafka broker in KRaft mode

KAFKA_CLUSTER_ID="$(./bin/kafka-storage.sh random-uuid)"
./bin/kafka-storage.sh format -t $KAFKA_CLUSTER_ID -c config/kraft/server.properties
./bin/kafka-server-start.sh config/kraft/server.properties

### Running a Kafka broker in ZooKeeper mode

./bin/zookeeper-server-start.sh config/zookeeper.properties
./bin/kafka-server-start.sh config/server.properties

### Running a Kafka broker in KRaft (Kafka Raft metadata) mode

See [config/kraft/README.md](https://github.com/apache/kafka/blob/trunk/config/kraft/README.md).

### Cleaning the build ###
./gradlew clean

Expand Down
17 changes: 17 additions & 0 deletions bin/kafka-metadata-quorum.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

exec $(dirname $0)/kafka-run-class.sh kafka.admin.MetadataQuorumCommand "$@"
4 changes: 4 additions & 0 deletions bin/kafka-run-class.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@ fi
# JMX port to use
if [ $JMX_PORT ]; then
KAFKA_JMX_OPTS="$KAFKA_JMX_OPTS -Dcom.sun.management.jmxremote.port=$JMX_PORT "
if ! echo "$KAFKA_JMX_OPTS" | grep -qF -- '-Dcom.sun.management.jmxremote.rmi.port=' ; then
# If unset, set the RMI port to address issues with monitoring Kafka running in containers
KAFKA_JMX_OPTS="$KAFKA_JMX_OPTS -Dcom.sun.management.jmxremote.rmi.port=$JMX_PORT"
fi
fi

# Log directory to use
Expand Down
17 changes: 17 additions & 0 deletions bin/windows/kafka-metatada-quorum.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@echo off
rem Licensed to the Apache Software Foundation (ASF) under one or more
rem contributor license agreements. See the NOTICE file distributed with
rem this work for additional information regarding copyright ownership.
rem The ASF licenses this file to You under the Apache License, Version 2.0
rem (the "License"); you may not use this file except in compliance with
rem the License. You may obtain a copy of the License at
rem
rem http://www.apache.org/licenses/LICENSE-2.0
rem
rem Unless required by applicable law or agreed to in writing, software
rem distributed under the License is distributed on an "AS IS" BASIS,
rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
rem See the License for the specific language governing permissions and
rem limitations under the License.

"%~dp0kafka-run-class.bat" kafka.admin.MetadataQuorumCommand %*
12 changes: 10 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,7 @@ project(':core') {
testImplementation project(':clients').sourceSets.test.output
testImplementation project(':metadata').sourceSets.test.output
testImplementation project(':raft').sourceSets.test.output
testImplementation project(':server-common').sourceSets.test.output
testImplementation libs.bcpkix
testImplementation libs.mockitoCore
testImplementation(libs.apacheda) {
Expand Down Expand Up @@ -1151,12 +1152,14 @@ project(':metadata') {
implementation libs.metrics
compileOnly libs.log4j
testImplementation libs.junitJupiter
testImplementation libs.jqwik
testImplementation libs.hamcrest
testImplementation libs.mockitoCore
testImplementation libs.mockitoInline
testImplementation libs.slf4jlog4j
testImplementation project(':clients').sourceSets.test.output
testImplementation project(':raft').sourceSets.test.output
testImplementation project(':server-common').sourceSets.test.output
generator project(':generator')
}

Expand Down Expand Up @@ -1595,6 +1598,8 @@ project(':storage') {
testImplementation project(':clients').sourceSets.test.output
testImplementation project(':core')
testImplementation project(':core').sourceSets.test.output
testImplementation project(':server-common')
testImplementation project(':server-common').sourceSets.test.output
testImplementation libs.junitJupiter
testImplementation libs.mockitoCore
testImplementation libs.bcpkix
Expand Down Expand Up @@ -1679,6 +1684,7 @@ project(':tools') {

dependencies {
implementation project(':clients')
implementation project(':server-common')
implementation project(':log4j-appender')
implementation libs.argparse4j
implementation libs.jacksonDatabind
Expand Down Expand Up @@ -2534,9 +2540,10 @@ project(':connect:runtime') {
implementation libs.jettyClient
implementation libs.reflections
implementation libs.mavenArtifact
implementation libs.swaggerJaxrs2
implementation libs.swaggerAnnotations

compileOnly libs.swaggerJaxrs2

testImplementation project(':clients').sourceSets.test.output
testImplementation project(':core')
testImplementation project(':metadata')
Expand Down Expand Up @@ -2624,7 +2631,8 @@ project(':connect:runtime') {
}

task genConnectOpenAPIDocs(type: io.swagger.v3.plugins.gradle.tasks.ResolveTask, dependsOn: setVersionInOpenAPISpec) {
classpath = sourceSets.main.runtimeClasspath
classpath = sourceSets.main.compileClasspath + sourceSets.main.runtimeClasspath

buildClasspath = classpath
outputFileName = 'connect_rest'
outputFormat = 'YAML'
Expand Down
6 changes: 6 additions & 0 deletions checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,15 @@
<!-- default is 200 -->
<property name="max" value="500"/>
</module>

<!-- Allows the use of the @SuppressWarnings annotation in the code -->
<module name="SuppressWarningsHolder"/>
</module>

<module name="SuppressionFilter">
<property name="file" value="${suppressionsFile}"/>
</module>

<!-- Allows the use of the @SuppressWarnings annotation in the code -->
<module name="SuppressWarningsFilter"/>
</module>
1 change: 1 addition & 0 deletions checkstyle/import-control-core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<allow pkg="org.apache.kafka.metadata" />
<allow pkg="org.apache.kafka.metalog" />
<allow pkg="org.apache.kafka.server.common" />
<allow pkg="org.apache.kafka.server.fault" />
</subpackage>

<subpackage name="tools">
Expand Down
Loading