alldatadc opened a new pull request, #630: URL: https://github.com/apache/griffin/pull/630
griffin support sink metric and record to mysql 1.has been solved: hive3, spark3 adaptation problem, version dependency problem 2.Add MysqlSink 3.Modify to get MysqlSink result ```markdown modified: measure/src/main/resources/env-batch.json modified: measure/src/main/resources/env-streaming.json modified: measure/src/main/scala/org/apache/griffin/measure/configuration/dqdefinition/DQConfig.scala new file: measure/src/main/scala/org/apache/griffin/measure/sink/MysqlSink.scala modified: measure/src/main/scala/org/apache/griffin/measure/sink/SinkFactory.scala modified: service/pom.xml new file: service/src/main/java/org/apache/griffin/core/config/MysqlConfig.java new file: service/src/main/java/org/apache/griffin/core/mapper/MetricsMapper.java new file: service/src/main/java/org/apache/griffin/core/metric/MysqlStoreImpl.java modified: service/src/main/java/org/apache/griffin/core/metric/model/MetricValue.java new file: service/src/main/java/org/apache/griffin/core/metric/model/MetricValueJson.java new file: service/src/main/java/org/apache/griffin/core/metric/model/MysqlMetrics.java new file: service/src/main/java/org/apache/griffin/core/util/MysqlSinkUtil.java new file: service/src/main/resources/application.yml modified: service/src/main/resources/env/env_batch.json modified: service/src/main/resources/env/env_streaming.json ``` 4.Packaging deployment test is successful 4.1 compile successfully <br/> <img width="1215" alt="image" src="https://user-images.githubusercontent.com/20246692/223978609-a62e6fad-2872-4959-a5b2-e3cbff92e705.png"> <br/> 4.2 package successfully <br/> <img width="1215" alt="image" src="https://user-images.githubusercontent.com/20246692/223978627-bc6bc894-4f91-44ad-abf7-b1acd40d99fd.png"> <br/> 5.MysqlSink to mysql_sink table test is successful <br/> <img width="1215" alt="image" src="https://user-images.githubusercontent.com/20246692/223978960-806cfedb-bd4a-4579-b12e-cecbdc51a6e1.png"> <br/> <br/> <img width="1215" alt="image" src="https://user-images.githubusercontent.com/20246692/223978975-f026fa01-26d1-40b9-9996-653d3c6dadaa.png"> <br/> <br/> <img width="1215" alt="image" src="https://user-images.githubusercontent.com/20246692/223979147-f37ab2b1-fae6-4b38-9136-deec12db0045.png"> <br/> <br/> <img width="1215" alt="image" src="https://user-images.githubusercontent.com/20246692/223979032-2019a1ff-36d2-4d1b-8298-4bbaf9f45581.png"> <br/> <br/> <img width="1215" alt="image" src="https://user-images.githubusercontent.com/20246692/223979059-2dc2506d-9c5c-4b62-8b6c-962ab4ead4df.png"> <br/> ## Checklist: - [y] I have a meaningful commit message (including the issue id, **the template of commit message is '[label-type-#issue-id][fixed-module] a meaningful commit message.'**) - [y] I have performed a self-review of my own code. - [y] I have commented my code, particularly in hard-to-understand areas. - [ ] I have made corresponding changes to the documentation. - [ ] I have added tests that prove my fix is effective or that my feature works. - [ ] New and existing unit tests pass locally with my changes. - [y] I have checked my code and corrected any misspellings. - [y] My commit is only one. (If there are multiple commits, you can use 'git squash' to compress multiple commits into one.) -- 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...@griffin.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org