Created
September 15, 2021 08:51
-
-
Save ereshzealous/1c59e14557f1d5952ca3eba6f99d10e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server: | |
port: 9081 | |
spring: | |
cloud: | |
schema-registry-client: | |
endpoint: http://${SCHEMA_REGISTRY_HOST:localhost}:${SCHEMA_REGISTRY_PORT:8081} | |
stream: | |
kafka: | |
binder: | |
brokers: ${KAFKA_HOST:localhost}:${KAFKA_PORT:29092} | |
auto-add-partitions: true | |
min-partition-count: 3 | |
bindings: | |
users-in-0: | |
destination: com.spring.kafka.avro.newuser | |
content-type: application/*+avro | |
group: eventServiceGroup | |
consumer: | |
use-native-encoding: true | |
ack-mode: RECORD # setting it explicitly as suggest in https://githubmemory.com/repo/spring-cloud/spring-cloud-stream-binder-kafka/issues/1079 | |
management: | |
endpoints: | |
web: | |
exposure.include: beans, env, health, info, metrics, mappings | |
endpoint: | |
health: | |
show-details: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment