diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index d65a881..8b9b797 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -4,6 +4,23 @@ knife4j: enable: true spring: + kafka: + #??????? + topic: sourcetopic + producer: + bootstrap-servers: 10.0.10.153:29551,10.0.10.153:29552,10.0.10.153:29553,10.0.10.153:29554 + key-serializer: org.apache.kafka.common.serialization.StringSerializer + value-serializer: org.apache.kafka.common.serialization.StringSerializer + retries: 3 + properties: + retry.backoff.ms: 100 #?????????100 + linger.ms: 0 #???0???????????????????batch??? + max.request.size: 1048576 #??1MB?????????? + connections.max.idle.ms: 540000 #??9??????????????? + receive.buffer.bytes: 32768 #??32KB???socket????????????-1?????????? + send.buffer.bytes: 131072 #??128KB???socket???????????-1?????????? + request.timeout.ms: 10000 #??30000ms?????????????? + transaction.timeout.ms: 5000 # thymeleaf 页面配置 thymeleaf: cache: false