Created
September 15, 2021 08:38
-
-
Save ereshzealous/d830c9e4d0c00e288346970c9df94404 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: 9080 | |
spring: | |
schema: | |
avro: | |
schema-locations: | |
- classpath:avro/*.avsc | |
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 | |
source: users | |
bindings: | |
users-out-0: | |
destination: com.spring.kafka.avro.newuser | |
content-type: application/*+avro | |
producer: | |
partition-count: 3 | |
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