Minor Tunings
This commit is contained in:
@@ -2,7 +2,7 @@ version: '3'
|
||||
services:
|
||||
kafka:
|
||||
image: wurstmeister/kafka
|
||||
container_name: kafka-mc
|
||||
container_name: kafka
|
||||
ports:
|
||||
- "9092:9092"
|
||||
environment:
|
||||
|
||||
@@ -66,6 +66,9 @@
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>${spring-boot.version}</version>
|
||||
<configuration>
|
||||
<layers>
|
||||
<enabled>true</enabled>
|
||||
</layers>
|
||||
<excludes>
|
||||
<exclude>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
|
||||
@@ -30,11 +30,12 @@ spring.cloud.stream:
|
||||
binder:
|
||||
brokers: localhost:9092 # just to use it in the service app, Its already 'localhost:9092' by default
|
||||
autoAddPartitions: true
|
||||
minPartitionCount: 6
|
||||
configuration:
|
||||
application.id: ${spring.application.name}
|
||||
state.dir: ${spring.application.name}${server.port} # to give a unique dir name in case you run multiple of this app on the same machine
|
||||
state.dir: state-${spring.application.name}-${server.port} # to give a unique dir name in case you run multiple of this app on the same machine
|
||||
default.key.serde: org.apache.kafka.common.serialization.Serdes$UUIDSerde
|
||||
default.value.serde: org.apache.kafka.common.serialization.Serdes$StringSerde
|
||||
commit.interval.ms: 1000
|
||||
commit.interval.ms: 100
|
||||
auto.offset.reset: latest
|
||||
logging.level.com.ehsaniara.scs_kafka_intro: debug
|
||||
|
||||
Reference in New Issue
Block a user