File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
java/com/programming/commentService/config Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public class KafkaProducerConfig {
1616 @ Bean
1717 public Map <String , Object > producerConfigs () {
1818 Map <String , Object > props = new HashMap <>();
19- props .put (ProducerConfig .BOOTSTRAP_SERVERS_CONFIG , "192.168.120.131:31182 " );
19+ props .put (ProducerConfig .BOOTSTRAP_SERVERS_CONFIG , "192.168.2.240:9092 " );
2020 props .put (ProducerConfig .KEY_SERIALIZER_CLASS_CONFIG , StringSerializer .class );
2121 props .put (ProducerConfig .VALUE_SERIALIZER_CLASS_CONFIG , StringSerializer .class );
2222 return props ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ spring:
1111
1212
1313 kafka :
14- bootstrap-servers : 192.168.120.131:31182 # Địa chỉ Kafka broker
14+ bootstrap-servers : 192.168.2.240:9092 # Địa chỉ Kafka broker
1515 producer :
1616 key-serializer : org.apache.kafka.common.serialization.StringSerializer
1717 value-serializer : org.apache.kafka.common.serialization.StringSerializer
You can’t perform that action at this time.
0 commit comments