Skip to content

Instantly share code, notes, and snippets.

@lmonkiewicz
Created January 30, 2023 16:29
Show Gist options
  • Save lmonkiewicz/95d62d40f1b0db410a1bdabf017d4258 to your computer and use it in GitHub Desktop.
Save lmonkiewicz/95d62d40f1b0db410a1bdabf017d4258 to your computer and use it in GitHub Desktop.
spring:
cloud:
stream:
kafka:
binder:
brokers: localhost:9092
autoCreateTopics: true
configuration:
sasl.mechanism: PLAIN
producerProperties:
schema.registry.url: http://localhost:8081
key.serializer: org.apache.kafka.common.serialization.StringSerializer
value.serializer: io.confluent.kafka.serializers.KafkaAvroSerializer
consumerProperties:
schema.registry.url: http://localhost:8081
key.deserializer: org.apache.kafka.common.serialization.StringDeserializer
value.deserializer: io.confluent.kafka.serializers.KafkaAvroDeserializer
specific.avro.reader: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment