Skip to content

Commit

Permalink
KYLIN-3932 KafkaConfigOverride to take effect
Browse files Browse the repository at this point in the history
  • Loading branch information
javalife0312 authored and nichunen committed Apr 12, 2019
1 parent e13f101 commit cb96418
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -245,7 +245,12 @@ private boolean isEmptyPosition(KafkaPosition kafkaPosition) {
}

public static Map<String, Object> getKafkaConf(Map<String, String> sourceProperties, KylinConfig kylinConfig) {
return getKafkaConf(sourceProperties);
Map<String, String> kafkaConfigOverride = kylinConfig.getKafkaConfigOverride();
Map<String, Object> kafkaConf = getKafkaConf(sourceProperties);
kafkaConf.putAll(kafkaConfigOverride);

return kafkaConf;
//return getKafkaConf(sourceProperties);
}

public static Map<String, Object> getKafkaConf(Map<String, String> sourceProperties) {
Expand Down

0 comments on commit cb96418

Please sign in to comment.