nikam14 opened a new issue, #8433: URL: https://github.com/apache/inlong/issues/8433
### Description In the getTaskType() method we are using switch case to get the task , we can improve it using Hashmap to store the Task and then can get Task Type from HashMap, which is more efficient. Screenshot  Open for Suggestions. ### InLong Component Other for not specified component ### Are you willing to submit PR? - [X] Yes, I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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: dev-unsubscr...@inlong.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org