Informationen zur Kafka-Konfiguration im info-Endpoint sichtbar gemacht
authorKai Moritz <kai@juplo.de>
Sun, 10 Apr 2022 18:55:42 +0000 (20:55 +0200)
committerKai Moritz <kai@juplo.de>
Sun, 10 Apr 2022 19:21:53 +0000 (21:21 +0200)
src/main/resources/application.yml

index ccc57b4..92da46f 100644 (file)
@@ -10,8 +10,17 @@ management:
       exposure:
         include: "*"
   info:
+    env:
+      enabled: true
     java:
       enabled: true
+info:
+  kafka:
+    bootstrap-server: ${producer.bootstrap-server}
+    client-id: ${producer.client-id}
+    topic: ${producer.topic}
+    acks: ${producer.acks}
+    throttle-ms: ${producer.throttle-ms}
 logging:
   level:
     root: INFO