-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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 mysql registry plugin #10406
Add mysql registry plugin #10406
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #10406 +/- ##
============================================
- Coverage 40.56% 40.53% -0.04%
- Complexity 4767 4772 +5
============================================
Files 877 878 +1
Lines 35623 35741 +118
Branches 3945 3969 +24
============================================
+ Hits 14452 14489 +37
- Misses 19738 19807 +69
- Partials 1433 1445 +12
Continue to review full report at Codecov.
|
...heduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-mysql/README.md
Outdated
Show resolved
Hide resolved
...scheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-mysql/pom.xml
Outdated
Show resolved
Hide resolved
...heduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-mysql/README.md
Show resolved
Hide resolved
...try-mysql/src/main/java/org/apache/dolphinscheduler/plugin/registry/mysql/MysqlOperator.java
Outdated
Show resolved
Hide resolved
.../java/org/apache/dolphinscheduler/plugin/registry/zookeeper/ZookeeperRegistryProperties.java
Show resolved
Hide resolved
...rc/main/java/org/apache/dolphinscheduler/plugin/registry/mysql/task/RegistryLockManager.java
Outdated
Show resolved
Hide resolved
...-registry-plugins/dolphinscheduler-registry-mysql/src/main/resources/mysql_registry_init.sql
Outdated
Show resolved
Hide resolved
...c/main/java/org/apache/dolphinscheduler/plugin/registry/mysql/task/SubscribeDataManager.java
Outdated
Show resolved
Hide resolved
...try-mysql/src/main/java/org/apache/dolphinscheduler/plugin/registry/mysql/MysqlOperator.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/apache/dolphinscheduler/plugin/registry/mysql/task/EphemeralDateManager.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/apache/dolphinscheduler/plugin/registry/mysql/task/EphemeralDateManager.java
Show resolved
Hide resolved
...rc/main/java/org/apache/dolphinscheduler/plugin/registry/mysql/task/RegistryLockManager.java
Outdated
Show resolved
Hide resolved
...-registry-plugins/dolphinscheduler-registry-mysql/src/main/resources/mysql_registry_init.sql
Show resolved
Hide resolved
...try-mysql/src/main/java/org/apache/dolphinscheduler/plugin/registry/mysql/MysqlRegistry.java
Outdated
Show resolved
Hide resolved
...heduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-mysql/README.md
Outdated
Show resolved
Hide resolved
...src/main/java/org/apache/dolphinscheduler/plugin/registry/mysql/MysqlRegistryProperties.java
Outdated
Show resolved
Hide resolved
...try-mysql/src/main/java/org/apache/dolphinscheduler/plugin/registry/mysql/MysqlOperator.java
Outdated
Show resolved
Hide resolved
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.
Some nits, generally good to me
...try-mysql/src/main/java/org/apache/dolphinscheduler/plugin/registry/mysql/MysqlOperator.java
Outdated
Show resolved
Hide resolved
...try-mysql/src/main/java/org/apache/dolphinscheduler/plugin/registry/mysql/MysqlOperator.java
Show resolved
Hide resolved
@ruanwenjun please take a look of the Security Hotspots. |
SonarCloud Quality Gate failed. |
Done |
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.
LGTM, thanks @ruanwenjun to add this feature.
Should we add this feature to the docs too? @ruanwenjun |
Yes, right now, I have added a README.md under the |
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.
+1
* Add mysql registry plugin
* Add mysql registry plugin
Purpose of the pull request
close #10408
Add new registry plugin - mysql. If user don't have a zookeeper cluster, they can still use DolphinScheduler.
todo: add doc
Brief change log
dolphinscheduler-registry-mysql
.dolphinscheduler-registry-mysql
to api/master/workerVerify this pull request
Change the registry.type to mysql and start a ds cluster.