Commit e1dd566afc83bc5f8350e9fe7acea61691ec60ec

Authored by 王通
1 parent 395fa3e8

1.lingang分支,配置变更

src/main/java/com/bsth/server_rs/schedule/real/KafkaProperties1.java 0 → 100644
  1 +package com.bsth.server_rs.schedule.real;
  2 +
  3 +public interface KafkaProperties1 {
  4 + public final static String zkConnect ="106.15.44.249:2181,106.15.44.249:2182,106.15.44.249:2183";
  5 + // groupId
  6 + public final static String groupId1 = System.currentTimeMillis() + "group_pdgj";
  7 +
  8 + // topic组
  9 + public final static String topic1 = "PDGJ";//
  10 +
  11 + public final static String brokerList = "114.80.178.12:9811";
  12 +
  13 +}
src/main/resources/application-prod.properties
@@ -8,7 +8,7 @@ spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy @@ -8,7 +8,7 @@ spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy
8 spring.jpa.database= MYSQL 8 spring.jpa.database= MYSQL
9 spring.jpa.show-sql= false 9 spring.jpa.show-sql= false
10 spring.datasource.driver-class-name= com.mysql.jdbc.Driver 10 spring.datasource.driver-class-name= com.mysql.jdbc.Driver
11 -spring.datasource.url= jdbc:mysql://10.10.200.121:3306/control?useUnicode=true&characterEncoding=utf-8&useSSL=false 11 +spring.datasource.url= jdbc:mysql://127.0.0.1:3306/control?useUnicode=true&characterEncoding=utf-8&useSSL=false
12 spring.datasource.username= root 12 spring.datasource.username= root
13 spring.datasource.password= root2jsp 13 spring.datasource.password= root2jsp
14 #DATASOURCE 14 #DATASOURCE
@@ -25,18 +25,11 @@ spring.datasource.validation-query=select 1 @@ -25,18 +25,11 @@ spring.datasource.validation-query=select 1
25 25
26 #REDIS 26 #REDIS
27 spring.redis.database=0 27 spring.redis.database=0
28 -spring.redis.host=10.10.150.24 28 +spring.redis.host=172.17.16.126
29 spring.redis.password=bsth_control_001 29 spring.redis.password=bsth_control_001
30 spring.redis.port=28008 30 spring.redis.port=28008
31 31
32 -#kafka  
33 -spring.kafka.bootstrap-servers=47.106.82.232:9092  
34 -spring.kafka.producer.key-serializer=org.apache.kafka.common.serialization.StringSerializer  
35 -spring.kafka.producer.value-serializer=org.apache.kafka.common.serialization.StringSerializer  
36 -spring.kafka.producer.buffer-memory=33554432  
37 -spring.kafka.producer.acks=all  
38 -  
39 -http.control.service_data_url= http://10.10.200.121:49088/companyService 32 +http.control.service_data_url= http://106.14.30.180:9088/companyService
40 http.control.secret.key= dVPHJkWUt5FhMT7jrM2dLV7QvlHAmZFd42rs1P0usBx8A7HZki 33 http.control.secret.key= dVPHJkWUt5FhMT7jrM2dLV7QvlHAmZFd42rs1P0usBx8A7HZki
41 34
42 -http.gps.real.url= http://10.10.200.79:8080/transport_server/rtgps/  
43 \ No newline at end of file 35 \ No newline at end of file
  36 +http.gps.real.url= http://106.14.30.180:18080/transport_server/rtgps/
44 \ No newline at end of file 37 \ No newline at end of file
src/main/resources/ms-jdbc.properties
@@ -4,6 +4,6 @@ @@ -4,6 +4,6 @@
4 #ms.mysql.password= panzhao 4 #ms.mysql.password= panzhao
5 5
6 ms.mysql.driver= com.mysql.jdbc.Driver 6 ms.mysql.driver= com.mysql.jdbc.Driver
7 -ms.mysql.url= jdbc:mysql://10.10.200.226:3306/ms?useUnicode=true&characterEncoding=utf-8 7 +ms.mysql.url= jdbc:mysql://127.0.0.1:3306/ms?useUnicode=true&characterEncoding=utf-8
8 ms.mysql.username= root 8 ms.mysql.username= root
9 ms.mysql.password= root2jsp 9 ms.mysql.password= root2jsp
10 \ No newline at end of file 10 \ No newline at end of file