Skip to content

Instantly share code, notes, and snippets.

@kirshiyin89
Created October 25, 2022 12:24
Show Gist options
  • Save kirshiyin89/de0efbceb75dcec06ff86e91a303f9aa to your computer and use it in GitHub Desktop.
Save kirshiyin89/de0efbceb75dcec06ff86e91a303f9aa to your computer and use it in GitHub Desktop.
app properties
topic: my-topic
server:
port: 8090
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