import { DevelopmentEnvs } from ‘../components/TableData.jsx’;
git clone https://github.com/apache/streampark.git
cd streampark/ ./build.sh
Here, we are using idea to open the project.
open -a /Applications/IntelliJ\ IDEA\ CE.app/ ./
cd ./dist tar -zxvf apache-streampark-2.2.0-incubating-bin.tar.gz
Copy the path of the extracted directory, for example: ${workspace}/streampark/dist/apache-streampark-2.2.0-incubating-bin
Navigate to streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/StreamParkConsoleBootstrap.java
Modify the launch configuration
Check Add VM options and Add dependencies with "provided" scope to classpath, and input the parameter -Dapp.home=$path, where $path is the path we just copied.
-Dapp.home=${workspace}/streampark/dist/apache-streampark-2.2.0-incubating-bin
Then, start the backend service.
cd ../streampark-console/streampark-console-webapp pnpm serve
Visit http://localhost:10001/, enter the username admin and the password streampark, then choose a team to proceed.
1.Start the project in debug mode in Idea
2.Add breakpoints in the link/app/list of the Application Controller
3.Entering your account password to log in to streampark and selecting team will trigger a breakpoint