-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a control layer for submitting tasks to stream back results #2689
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Run: mvn spotless:apply
public Result<JobResult> submitTask2(@ProcessId @RequestParam Integer id) throws Exception { | ||
JobResult jobResult = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should extend method named debugTask.
username: ${MYSQL_USERNAME:root} | ||
password: ${MYSQL_PASSWORD:mysql_d2E3wH} | ||
driver-class-name: com.mysql.cj.jdbc.Driver |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove useless changes.
active: ${DB_ACTIVE:mysql} #[h2,mysql,pgsql] | ||
include: jmx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove useless changes.
export default { | ||
'return.resul':'结果 {{result}}', | ||
'button.add': 'Add', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use English
); | ||
console.log(currentData) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove debug code.
Without changing the current interface, a submitask2 has been added for SSE to stream sql query results。
在不改变现在的接口的情况下增加了一个submitask2用于SSE流式传输sql查询结果
可能有一些地方需要更改 还不是很完善。