KAFKA-18203: Add a section for Java version in intellij idea in README#18134
Merged
chia7712 merged 5 commits intoapache:trunkfrom Dec 13, 2024
Merged
KAFKA-18203: Add a section for Java version in intellij idea in README#18134chia7712 merged 5 commits intoapache:trunkfrom
chia7712 merged 5 commits intoapache:trunkfrom
Conversation
chia7712
reviewed
Dec 11, 2024
| To contribute follow the instructions here: | ||
| * https://kafka.apache.org/contributing.html | ||
|
|
||
| ### IntelliJ Configuration for Kafka Development ### |
Member
There was a problem hiding this comment.
Could you please merge this into the Building IDE Project section? Additionally, according to the official Gradle documentation, the IDEA plugin is not necessary. Perhaps we should remove it in this PR as well.
chia7712
reviewed
Dec 13, 2024
| 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. | ||
|
|
||
| When developing Kafka in IntelliJ, **it is recommended to set the project SDK to Java 17**. While some modules, such as client |
Member
There was a problem hiding this comment.
I find the comments a bit verbose. Let's focus on two key points:
- Use JDK 17 for Kafka Development:
Please ensure that JDK 17 is used when developing Kafka. - IntelliJ Language Level Awareness:
IntelliJ IDEA automatically detects the language level for each module, even if Structure > Project Settings > Modules is not configured.
chia7712
approved these changes
Dec 13, 2024
tedyu
pushed a commit
to tedyu/kafka
that referenced
this pull request
Jan 6, 2025
…apache#18134) Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Jira: https://issues.apache.org/jira/browse/KAFKA-18203
We should inform developers who want to work on Kafka using IntelliJ IDEA that there are some inconsistent behaviors in IntelliJ. It’s important to notify all developers about these issues to ensure a smoother development experience.
This PR is related with #18104
Committer Checklist (excluded from commit message)