Skip to content

Instantly share code, notes, and snippets.

@ereshzealous
Created September 15, 2021 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ereshzealous/d830c9e4d0c00e288346970c9df94404 to your computer and use it in GitHub Desktop.
Save ereshzealous/d830c9e4d0c00e288346970c9df94404 to your computer and use it in GitHub Desktop.
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