Skip to content

Instantly share code, notes, and snippets.

@schroedermatt
Created August 8, 2018 21:33
Show Gist options
  • Select an option

  • Save schroedermatt/731d71d2cce8daaf3bc5195528d7da10 to your computer and use it in GitHub Desktop.

Select an option

Save schroedermatt/731d71d2cce8daaf3bc5195528d7da10 to your computer and use it in GitHub Desktop.
integration test configuration
spring:
kafka:
# point the bootstrap servers to the running embedded kafka
bootstrap-servers: ${spring.embedded.kafka.brokers}
consumer:
client-id: test-avro-consumer
group-id: test-avro-group
value-deserializer: io.confluent.kafka.serializers.KafkaAvroDeserializer
producer:
value-serializer: io.confluent.kafka.serializers.KafkaAvroSerializer
properties: # for KafkaAvroDeserializer
# this value isn’t used but is still required
schema.registry.url: http://mock:8081
specific.avro.reader: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment