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>**/canal.properties</exclude>
|
||||||
<exclude>**/spring/**</exclude>
|
<exclude>**/spring/**</exclude>
|
||||||
<exclude>**/example/**</exclude>
|
<exclude>**/example/**</exclude>
|
||||||
|
<exclude>**/example2/**</exclude>
|
||||||
|
<exclude>**/kafka.yml</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ public class CanalKafkaStarter {
|
|||||||
try {
|
try {
|
||||||
|
|
||||||
logger.info("## load kafka configurations");
|
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;
|
KafkaProperties kafkaProperties;
|
||||||
if (conf.startsWith(CLASSPATH_URL_PREFIX)) {
|
if (conf.startsWith(CLASSPATH_URL_PREFIX)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user