Skip to content

Commit

Permalink
fix: broker 주소 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
kamothi committed Oct 8, 2024
1 parent 93d1837 commit fe59ae0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class KafkaConsumerConfig {
public ConsumerFactory<String, String> consumerFactory(){
Map<String, Object> properties = new HashMap<>();

properties.put(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG,"127.0.0.1:9092");
properties.put(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG,"172.31.33.10:9094");
properties.put(ConsumerConfig.GROUP_ID_CONFIG,"consumerGroupId");
properties.put(ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class);
properties.put(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class);
Expand Down

0 comments on commit fe59ae0

Please sign in to comment.