Skip to content

Instantly share code, notes, and snippets.

@Daniel-Jacob
Last active March 7, 2022 04:16
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 Daniel-Jacob/e105717103db5609de173bed1579dfd4 to your computer and use it in GitHub Desktop.
Save Daniel-Jacob/e105717103db5609de173bed1579dfd4 to your computer and use it in GitHub Desktop.
yml for retryable topic config
topic: my-topic
retry-attempts: 8
server:
port: 8080
management:
server.port: 8081
spring:
kafka:
bootstrap-servers: http://localhost:29092
properties:
spring.deserializer.value.delegate.class: org.springframework.kafka.support.serializer.JsonDeserializer
security.protocol: PLAINTEXT
producer:
key-serializer: org.apache.kafka.common.serialization.StringSerializer
value-serializer: org.apache.kafka.common.serialization.StringSerializer
consumer:
group-id: my-group
key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
value-deserializer: org.apache.kafka.common.serialization.StringDeserializer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment