### Search before asking - [X] I searched the [issues](https://github.com/WeBankFinTech/Streamis/issues) and found no similar issues. ### Streamis Component streamis-server ### What happened + What you expected to happen There are some bad smells of code ### Relevent platform streamis 0.2.0 ### Reproduction script Many bad code smells can be scanned in Sonar ### Anything else _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR!