分布式调度框架。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
zhuangchong 4a3299ac8c [maven-release-plugin] prepare release 3.1.3 2 years ago
..
src/main cherry-pick Use bigint represent term in mysql registry to avoid time inaccurate #13082 2 years ago
README.md [3.1.3-prepare][doc]3.1.3 Preparations before release (#13329) 2 years ago
pom.xml [maven-release-plugin] prepare release 3.1.3 2 years ago

README.md

Introduction

This module is the mysql registry plugin module, this plugin will use mysql as the registry center.

How to use

If you want to set the registry center as mysql, you need to do the below two steps:

  1. Initialize the mysql table

You can directly execute the sql script src/main/resources/mysql_registry_init.sql.

  1. Open the config

You need to set the registry properties in master/worker/api's appplication.yml

registry:
  type: mysql
  term-refresh-interval: 2s
  term-expire-times: 3
  hikari-config:
    driver-class-name: com.mysql.cj.jdbc.Driver
    jdbc-url: jdbc:mysql://127.0.0.1:3306/dolphinscheduler
    username: root
    password: root
    maximum-pool-size: 5
    connection-timeout: 9000
    idle-timeout: 600000

After do this two steps, you can start your DolphinScheduler cluster, your cluster will use mysql as registry center to store server metadata.

NOTE: You need to add mysql-connector-java.jar into DS classpath, since this plugin will not bundle this driver in distribution. You can get the detail about Initialize the Database