You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ch...@apache.org on 2024/12/13 17:37:32 UTC
(kafka) branch trunk updated: KAFKA-18203 Add a section for Java version in intellij idea in README (#18134)
This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new 6af233e4fc1 KAFKA-18203 Add a section for Java version in intellij idea in README (#18134)
6af233e4fc1 is described below
commit 6af233e4fc1d54c045230d6c7b9ceb7806f15e97
Author: Ken Huang <s7...@gmail.com>
AuthorDate: Sat Dec 14 01:37:25 2024 +0800
KAFKA-18203 Add a section for Java version in intellij idea in README (#18134)
Reviewers: Chia-Ping Tsai <ch...@gmail.com>
---
README.md | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/README.md b/README.md
index 03069291a5e..e11a8b88084 100644
--- a/README.md
+++ b/README.md
@@ -121,6 +121,8 @@ Streams has multiple sub-projects, but you can run all the tests:
./gradlew tasks
### Building IDE project ####
+*Note Please ensure that JDK17 is used when developing Kafka.*
+
*Note that this is not strictly necessary (IntelliJ IDEA has good built-in support for Gradle projects, for example).*
./gradlew eclipse
@@ -130,6 +132,11 @@ The `eclipse` task has been configured to use `${project_dir}/build_eclipse` as
build directory (`${project_dir}/bin`) clashes with Kafka's scripts directory and we don't use Gradle's build directory
to avoid known issues with this configuration.
+IntelliJ Language Level awareness:
+
+IntelliJ will automatically check Java syntax and compatibility for each module, even if the Java version is not
+explicitly set in the Structure > Project Settings > Modules.
+
### Publishing the streams quickstart archetype artifact to maven ###
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: