application.properties 1.3 KB

123456789101112131415161718192021222324252627
  1. # global bootstrap server list (there can be one per-channel)
  2. kafka.bootstrap.servers = localhost:9092,localhost:9192,localhost:9292
  3. # SSL/PLAINTEXT connection
  4. kafka.security.protocol = PLAINTEXT
  5. # kafka.ssl.truststore.location = ABSOLUTE_PATH_TO_WORKSPACE_FOLDER/truststore.jks
  6. # kafka.ssl.truststore.password = password
  7. # Kafka connector + some low-level configuration
  8. mp.messaging.outgoing.weather-forecast.connector = smallrye-kafka
  9. mp.messaging.outgoing.weather-forecast.topic = weather-forecast
  10. mp.messaging.outgoing.weather-forecast.acks = 1
  11. mp.messaging.outgoing.weather-forecast.max-inflight-messages = 5
  12. # arbitrary client config can be provided by this bean as defaults, but is overridden by any property here
  13. # mp.messaging.outgoing.weather-forecast.kafka-configuration = bean-identifier-of-producer-class
  14. # key and value serializers
  15. mp.messaging.outgoing.weather-forecast.key.serializer = org.apache.kafka.common.serialization.StringSerializer
  16. mp.messaging.outgoing.weather-forecast.value.serializer = io.quarkus.kafka.client.serialization.ObjectMapperSerializer
  17. # AVRO & schema registry
  18. # mp.messaging.outgoing.weather-forecast.value.serializer = io.apicurio.registry.utils.serde.AvroKafkaSerializer
  19. # mp.messaging.outgoing.weather-forecast.schema.registry.url = https://../
  20. # disable Quarkus dev services
  21. quarkus.kafka.devservices.enabled = false