Skip to content

Commit

Permalink
Merge pull request #420 from TrandPick/development
Browse files Browse the repository at this point in the history
refactor: 배포환경에 따른 변수명 변경 (#415)
  • Loading branch information
angelSuho authored Aug 13, 2023
2 parents a687135 + 7828af3 commit 6ad7940
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class KafkaConfig {
@Bean
public KafkaAdmin admin() {
Map<String, Object> configs = new HashMap<>();
configs.put(AdminClientConfig.BOOTSTRAP_SERVERS_CONFIG, "localhost:"+kafkaPort);
configs.put(AdminClientConfig.BOOTSTRAP_SERVERS_CONFIG, kafkaHost+kafkaPort);
return new KafkaAdmin(configs);
}

Expand Down

0 comments on commit 6ad7940

Please sign in to comment.