mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
kafka system.properties 的 bug
This commit is contained in:
@@ -57,6 +57,8 @@
|
||||
<exclude>**/canal.properties</exclude>
|
||||
<exclude>**/spring/**</exclude>
|
||||
<exclude>**/example/**</exclude>
|
||||
<exclude>**/example2/**</exclude>
|
||||
<exclude>**/kafka.yml</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
@@ -35,7 +35,7 @@ public class CanalKafkaStarter {
|
||||
try {
|
||||
|
||||
logger.info("## load kafka configurations");
|
||||
String conf = System.getProperty("canal.conf", "classpath:kafka.yml");
|
||||
String conf = System.getProperty("kafka.conf", "classpath:kafka.yml");
|
||||
|
||||
KafkaProperties kafkaProperties;
|
||||
if (conf.startsWith(CLASSPATH_URL_PREFIX)) {
|
||||
|
||||
Reference in New Issue
Block a user