2022-07-27 08:25:10 +00:00
|
|
|
{
|
|
|
|
// Use IntelliSense to learn about possible attributes.
|
|
|
|
// Hover to view descriptions of existing attributes.
|
|
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
2022-08-08 06:59:04 +00:00
|
|
|
{
|
|
|
|
"type": "java",
|
|
|
|
"name": "Launch ProcessorServer",
|
|
|
|
"request": "launch",
|
|
|
|
"mainClass": "com.yuandian.dataflow.statemachine.grpc.ProcessorServer",
|
|
|
|
"projectName": "dataflow"
|
|
|
|
},
|
2022-08-04 10:07:48 +00:00
|
|
|
{
|
|
|
|
"type": "java",
|
|
|
|
"name": "Launch CounterClient",
|
|
|
|
"request": "launch",
|
|
|
|
"mainClass": "com.yuandian.dataflow.statemachine.client.CounterClient",
|
|
|
|
"projectName": "dataflow"
|
|
|
|
},
|
2022-07-28 18:14:47 +00:00
|
|
|
{
|
|
|
|
"type": "java",
|
2022-07-29 20:07:30 +00:00
|
|
|
"name": "Raft-0",
|
2022-07-28 18:14:47 +00:00
|
|
|
"request": "launch",
|
2022-08-07 16:22:43 +00:00
|
|
|
"mainClass": "com.yuandian.dataflow.statemachine.StateServer",
|
2022-07-29 20:07:30 +00:00
|
|
|
"projectName": "dataflow",
|
2022-07-31 16:27:00 +00:00
|
|
|
"console": "integratedTerminal",
|
2022-07-29 20:07:30 +00:00
|
|
|
"args": [
|
|
|
|
"0"
|
|
|
|
],
|
2022-07-31 16:27:00 +00:00
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"plane": "new",
|
|
|
|
"hidden": false,
|
|
|
|
"group": "",
|
|
|
|
"order": 1
|
|
|
|
}
|
2022-07-28 18:14:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "java",
|
2022-07-29 20:07:30 +00:00
|
|
|
"name": "Raft-1",
|
2022-07-28 18:14:47 +00:00
|
|
|
"request": "launch",
|
2022-08-07 16:22:43 +00:00
|
|
|
"mainClass": "com.yuandian.dataflow.statemachine.StateServer",
|
2022-07-29 20:07:30 +00:00
|
|
|
"projectName": "dataflow",
|
2022-07-31 16:27:00 +00:00
|
|
|
"console": "integratedTerminal",
|
2022-07-29 20:07:30 +00:00
|
|
|
"args": [
|
|
|
|
"1"
|
|
|
|
],
|
2022-07-31 16:27:00 +00:00
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"plane": "new",
|
|
|
|
"hidden": false,
|
|
|
|
"group": "",
|
|
|
|
"order": 2
|
|
|
|
}
|
2022-07-28 18:14:47 +00:00
|
|
|
},
|
2022-07-27 08:25:10 +00:00
|
|
|
{
|
|
|
|
"type": "java",
|
2022-07-29 20:07:30 +00:00
|
|
|
"name": "Raft-2",
|
2022-07-27 08:25:10 +00:00
|
|
|
"request": "launch",
|
2022-08-07 16:22:43 +00:00
|
|
|
"mainClass": "com.yuandian.dataflow.statemachine.StateServer",
|
2022-07-27 08:25:10 +00:00
|
|
|
"projectName": "dataflow",
|
2022-07-31 16:27:00 +00:00
|
|
|
"console": "integratedTerminal",
|
2022-07-28 18:14:47 +00:00
|
|
|
"args": [
|
|
|
|
"2"
|
|
|
|
],
|
2022-07-31 16:27:00 +00:00
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"plane": "new",
|
|
|
|
"hidden": false,
|
|
|
|
"group": "",
|
|
|
|
"order": 3
|
|
|
|
}
|
2022-08-02 10:19:26 +00:00
|
|
|
}
|
2022-07-29 20:07:30 +00:00
|
|
|
],
|
2022-07-31 16:27:00 +00:00
|
|
|
|
2022-07-29 20:07:30 +00:00
|
|
|
"compounds": [
|
|
|
|
{
|
2022-07-31 16:27:00 +00:00
|
|
|
|
2022-07-29 20:07:30 +00:00
|
|
|
"name": "Rafts-Server",
|
2022-07-31 16:27:00 +00:00
|
|
|
"configurations": ["Raft-0","Raft-1", "Raft-2"],
|
|
|
|
"preLaunchTask": "clear old data"
|
2022-07-28 18:14:47 +00:00
|
|
|
}
|
2022-07-27 08:25:10 +00:00
|
|
|
]
|
2022-07-31 16:27:00 +00:00
|
|
|
|
2022-07-27 08:25:10 +00:00
|
|
|
}
|