projects
/
demos
/
kafka
/
training
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b842626
)
Validierung der Properties aktiviert
author
Kai Moritz
<kai@juplo.de>
Mon, 28 Oct 2024 08:07:06 +0000
(09:07 +0100)
committer
Kai Moritz
<kai@juplo.de>
Tue, 29 Oct 2024 17:06:38 +0000
(18:06 +0100)
src/main/java/de/juplo/kafka/ApplicationProperties.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/kafka/ApplicationProperties.java
b/src/main/java/de/juplo/kafka/ApplicationProperties.java
index
4bf66a8
..
af663db
100644
(file)
--- a/
src/main/java/de/juplo/kafka/ApplicationProperties.java
+++ b/
src/main/java/de/juplo/kafka/ApplicationProperties.java
@@
-5,10
+5,11
@@
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
-
+import org.springframework.validation.annotation.Validated;
@ConfigurationProperties(prefix = "producer")
+@Validated
@Getter
@Setter
public class ApplicationProperties