-
Notifications
You must be signed in to change notification settings - Fork 18
/
im.properties
38 lines (34 loc) · 907 Bytes
/
im.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# server information
im.ip=127.0.0.1
im.port=9502
#mysql configs
mysql.url=jdbc:mysql://localhost/linbox
mysql.user=root
mysql.password=root
mysql.cachePrepStmts=true
mysql.prepStmtCacheSize=300
mysql.prepStmtCacheSqlLimit=2048
#Kafka Configs
bootstrap.servers=localhost:9092
acks=all
retries=0
batch.size=16384
linger.ms=1
buffer.memory=33554432
key.serializer=org.apache.kafka.common.serialization.StringSerializer
value.serializer=org.apache.kafka.common.serialization.StringSerializer
group.id=im
enable.auto.commit=true
auto.commit.interval.ms=1000
session.timeout.ms=30000
key.deserializer=org.apache.kafka.common.serialization.StringDeserializer
value.deserializer=org.apache.kafka.common.serialization.StringDeserializer
#redis config
redis.host=127.0.0.1
redis.port=6379
redis.maxActive=1000
redis.maxIdle=20
redis.maxWaitMilli=3000
redis.timeout=6000
#monitor config
monitor.duration.second=10