You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@griffin.apache.org by "alldatadc (via GitHub)" <gi...@apache.org> on 2023/03/09 09:31:43 UTC

[GitHub] [griffin] alldatadc opened a new pull request, #630: [Feature][MysqlSink] griffin support sink metric and record to mysql

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-unsubscribe@griffin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [griffin] alldatadc commented on pull request #630: [Feature][MysqlSink] griffin support sink metric and record to mysql

Posted by "alldatadc (via GitHub)" <gi...@apache.org>.
alldatadc commented on PR #630:
URL: https://github.com/apache/griffin/pull/630#issuecomment-1485188121

   > I'll check this out soon
   
   thank you for your check. respect!!


-- 
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-unsubscribe@griffin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [griffin] alldatadc commented on pull request #630: [Feature][MysqlSink] griffin support sink metric and record to mysql

Posted by "alldatadc (via GitHub)" <gi...@apache.org>.
alldatadc commented on PR #630:
URL: https://github.com/apache/griffin/pull/630#issuecomment-1563835072

   @chitralverma Hi, is there any other comments? This PR has been open for a long time.


-- 
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-unsubscribe@griffin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [griffin] github-actions[bot] commented on pull request #630: [Feature][MysqlSink] griffin support sink metric and record to mysql

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #630:
URL: https://github.com/apache/griffin/pull/630#issuecomment-1524244622

   Automated Message: This PR is being labelled as stale and will be closed in next 15 days due to lack of activity. To avoid this push new commits or ask the committers for a review/ resolution.


-- 
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-unsubscribe@griffin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [griffin] github-actions[bot] commented on pull request #630: [Feature][MysqlSink] griffin support sink metric and record to mysql

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #630:
URL: https://github.com/apache/griffin/pull/630#issuecomment-1631661183

   Automated Message: We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
   If you'd like to revive this PR, please reopen it and ask a committer to remove the 'no-pr-activity' tag!


-- 
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-unsubscribe@griffin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [griffin] chitralverma commented on pull request #630: [Feature][MysqlSink] griffin support sink metric and record to mysql

Posted by "chitralverma (via GitHub)" <gi...@apache.org>.
chitralverma commented on PR #630:
URL: https://github.com/apache/griffin/pull/630#issuecomment-1483796088

   I'll check this out soon


-- 
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-unsubscribe@griffin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [griffin] github-actions[bot] closed pull request #630: [Feature][MysqlSink] griffin support sink metric and record to mysql

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #630: [Feature][MysqlSink] griffin support sink metric and record to mysql
URL: https://github.com/apache/griffin/pull/630


-- 
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-unsubscribe@griffin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [griffin] github-actions[bot] commented on pull request #630: [Feature][MysqlSink] griffin support sink metric and record to mysql

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #630:
URL: https://github.com/apache/griffin/pull/630#issuecomment-1606345151

   Automated Message: This PR is being labelled as stale and will be closed in next 15 days due to lack of activity. To avoid this push new commits or ask the committers for a review/ resolution.


-- 
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-unsubscribe@griffin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org