You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-50
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,7 @@ the broker and tools has been deprecated since Apache Kafka 3.7 and removal of b
11
11
see [KIP-750](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=181308223) and
12
12
[KIP-1013](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=284789510) for more details).
13
13
14
-
Scala 2.12 and 2.13 are supported and 2.13 is used by default. Scala 2.12 support has been deprecated since
15
-
Apache Kafka 3.0 and will be removed in Apache Kafka 4.0 (see [KIP-751](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=181308218)
16
-
for more details). See below for how to use a specific Scala version or all of the supported Scala versions.
14
+
Scala 2.13 is the only supported version in Apache Kafka.
17
15
18
16
### Build a jar and run it ###
19
17
./gradlew jar
@@ -122,23 +120,6 @@ Using compiled files:
122
120
### Cleaning the build ###
123
121
./gradlew clean
124
122
125
-
### Running a task with one of the Scala versions available (2.12.x or 2.13.x) ###
126
-
*Note that if building the jars with a version other than 2.13.x, you need to set the `SCALA_VERSION` variable or change it in `bin/kafka-run-class.sh` to run the quick start.*
127
-
128
-
You can pass either the major version (eg 2.12) or the full version (eg 2.12.7):
129
-
130
-
./gradlew -PscalaVersion=2.12 jar
131
-
./gradlew -PscalaVersion=2.12 test
132
-
./gradlew -PscalaVersion=2.12 releaseTarGz
133
-
134
-
### Running a task with all the scala versions enabled by default ###
135
-
136
-
Invoke the `gradlewAll` script followed by the task(s):
137
-
138
-
./gradlewAll test
139
-
./gradlewAll jar
140
-
./gradlewAll releaseTarGz
141
-
142
123
### Running a task for a specific project ###
143
124
This is for `core`, `examples` and `clients`
144
125
@@ -162,24 +143,6 @@ The `eclipse` task has been configured to use `${project_dir}/build_eclipse` as
162
143
build directory (`${project_dir}/bin`) clashes with Kafka's scripts directory and we don't use Gradle's build directory
163
144
to avoid known issues with this configuration.
164
145
165
-
### Publishing the jar for all versions of Scala and for all projects to maven ###
166
-
The recommended command is:
167
-
168
-
./gradlewAll publish
169
-
170
-
For backwards compatibility, the following also works:
171
-
172
-
./gradlewAll uploadArchives
173
-
174
-
Please note for this to work you should create/update `${GRADLE_USER_HOME}/gradle.properties` (typically, `~/.gradle/gradle.properties`) and assign the following variables
175
-
176
-
mavenUrl=
177
-
mavenUsername=
178
-
mavenPassword=
179
-
signing.keyId=
180
-
signing.password=
181
-
signing.secretKeyRingFile=
182
-
183
146
### Publishing the streams quickstart archetype artifact to maven ###
184
147
For the Streams archetype project, one cannot use gradle to upload to maven; instead the `mvn deploy` command needs to be called at the quickstart folder:
185
148
@@ -209,22 +172,10 @@ Please note for this to work you should create/update user maven settings (typic
209
172
</servers>
210
173
...
211
174
212
-
213
-
### Installing ALL the jars to the local Maven repository ###
214
-
The recommended command to build for both Scala 2.12 and 2.13 is:
215
-
216
-
./gradlewAll publishToMavenLocal
217
-
218
-
For backwards compatibility, the following also works:
219
-
220
-
./gradlewAll install
221
-
222
175
### Installing specific projects to the local Maven repository ###
stateLogger.info(s"Partition $partition state changed to $leaderIsrAndControllerEpoch after removing replica $replicaId from the ISR as part of transition to $OfflineReplica")
232
231
if (!controllerContext.isTopicQueuedUpForDeletion(partition.topic)) {
0 commit comments