Browse Source

fix config

Signed-off-by: AE86 <836391306@qq.com>
AE86 2 years ago
parent
commit
e7c4fa24be

+ 8 - 8
dbsyncer-web/src/main/resources/application.properties

@@ -18,13 +18,13 @@ dbsyncer.parser.flush.increment.data.max-error-length=2048
 dbsyncer.parser.flush.buffer.actuator.speed.enabled=true
 dbsyncer.parser.flush.buffer.actuator.writer-batch-count=100
 dbsyncer.parser.flush.buffer.actuator.batch-count=1000
-dbsyncer.parser.flush.buffer.actuator.queue-capacity=50000
+dbsyncer.parser.flush.buffer.actuator.queue-capacity=100000
 dbsyncer.parser.flush.buffer.actuator.period-millisecond=300
 
 #plugin
-dbsyncer.plugin.notify.mail.enabled=false
-dbsyncer.plugin.notify.mail.username=your mail username
-dbsyncer.plugin.notify.mail.password=your mail authorization code
+#dbsyncer.plugin.notify.mail.enabled=true
+#dbsyncer.plugin.notify.mail.username=your mail username
+#dbsyncer.plugin.notify.mail.password=your mail authorization code
 
 #storage
 dbsyncer.storage.binlog.recorder.batch-count=3000
@@ -32,10 +32,10 @@ dbsyncer.storage.binlog.recorder.max-processing-seconds=120
 dbsyncer.storage.binlog.recorder.queue-capacity=10000
 dbsyncer.storage.binlog.recorder.writer-period-millisecond=500
 dbsyncer.storage.binlog.recorder.reader-period-millisecond=2000
-#dbsyncer.storage.support.mysql.enabled=true
-#dbsyncer.storage.support.mysql.config.url=jdbc:mysql://127.0.0.1:3306/dbsyncer?rewriteBatchedStatements=true&seUnicode=true&characterEncoding=UTF8&serverTimezone=Asia/Shanghai&useSSL=false&verifyServerCertificate=false
-#dbsyncer.storage.support.mysql.config.username=root
-#dbsyncer.storage.support.mysql.config.password=123
+dbsyncer.storage.support.mysql.enabled=false
+dbsyncer.storage.support.mysql.config.url=jdbc:mysql://127.0.0.1:3306/dbsyncer?rewriteBatchedStatements=true&seUnicode=true&characterEncoding=UTF8&serverTimezone=Asia/Shanghai&useSSL=false&verifyServerCertificate=false
+dbsyncer.storage.support.mysql.config.username=root
+dbsyncer.storage.support.mysql.config.password=123
 
 #monitor
 management.endpoints.web.base-path=/app

+ 1 - 1
dbsyncer-web/src/main/resources/public/plugin/plugin.html

@@ -23,7 +23,7 @@
                                 <p><a onClick="downLoad('connector')" href="javascript:;" title="下载开发包">dbsyncer-connector-[[${version}]].jar</a> (非必须)</p>
                             </li>
                             <li>方式2:引入pom(需要安装到本地)
-                                <pre>&lt;dependency&gt;<br/>&nbsp;&nbsp;&lt;groupId>org.ghi&lt;/groupId&gt;<br/>&nbsp;&nbsp;&lt;artifactId>dbsyncer-common&lt;/artifactId&gt;<br/>&nbsp;&nbsp;&lt;version>[[${version}]]&lt;/version&gt;<br/>&lt;/dependency&gt;<br/>&lt;/&lt;dependency&gt;<br/>&nbsp;&nbsp;&lt;groupId>org.ghi&lt;/groupId&gt;<br/>&nbsp;&nbsp;&lt;artifactId>dbsyncer-connector&lt;/artifactId&gt;<br/>&nbsp;&nbsp;&lt;version>[[${version}]]&lt;/version&gt;<br/>&lt;/dependency&gt;</pre>
+                                <pre>&lt;dependency&gt;<br/>&nbsp;&nbsp;&lt;groupId>org.ghi&lt;/groupId&gt;<br/>&nbsp;&nbsp;&lt;artifactId>dbsyncer-common&lt;/artifactId&gt;<br/>&nbsp;&nbsp;&lt;version>[[${version}]]&lt;/version&gt;<br/>&lt;/dependency&gt;<br/>&lt;dependency&gt;<br/>&nbsp;&nbsp;&lt;groupId>org.ghi&lt;/groupId&gt;<br/>&nbsp;&nbsp;&lt;artifactId>dbsyncer-connector&lt;/artifactId&gt;<br/>&nbsp;&nbsp;&lt;version>[[${version}]]&lt;/version&gt;<br/>&lt;/dependency&gt;</pre>
                             </li>
                         </ul>
                     </li>