whuerboy opened a new pull request, #11517:
URL: https://github.com/apache/rocketmq/pull/11517

   ### Which Issue(s) This PR Fixes
   
   Related issue: null.
   
   ### Brief Description
   
   Starting NameServer and Broker from source in IntelliJ IDEA requires 
manually configuring launch parameters, local storage paths, and protocol 
source generation.
   
   This PR provides shared run configurations and documentation to simplify 
local startup and debugging:
   
   - Add `Source - NameServer` and `Source - Broker` run configurations with 
project-relative paths and Maven compilation before launch.
   - Add local server configuration files with reduced resource limits and 
runtime data stored under `devenv/idea/`.
   - Register the generated Protobuf and gRPC Java source directories in 
`rocketmq-proto/pom.xml` for IDE Maven import.
   - Document JDK 17 setup, protocol submodule initialization, startup order, 
client configuration, and troubleshooting.
   - Link the debugging guide from `CONTRIBUTING.md`.
   
   ### How Did You Test This Change?
   
   Validation pending:
   
   - Compile NameServer, Broker, and their dependencies with JDK 17.
   - Reload the Maven project in IntelliJ IDEA and verify that generated 
protocol sources are recognized.
   - Launch NameServer and Broker using the shared run configurations.
   - Confirm that Broker registers successfully with NameServer.
   - Send and consume a test message through `127.0.0.1:9876`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to