projects
/
demos
/
kafka
/
training
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Versendete Nachrichten an den neuen Kontrakt angepasst
[demos/kafka/training]
/
src
/
main
/
java
/
de
/
juplo
/
kafka
/
ApplicationProperties.java
diff --git
a/src/main/java/de/juplo/kafka/ApplicationProperties.java
b/src/main/java/de/juplo/kafka/ApplicationProperties.java
index
14e928f
..
ccddc81
100644
(file)
--- a/
src/main/java/de/juplo/kafka/ApplicationProperties.java
+++ b/
src/main/java/de/juplo/kafka/ApplicationProperties.java
@@
-10,7
+10,7
@@
import javax.validation.constraints.NotNull;
import java.time.Duration;
import java.time.Duration;
-@ConfigurationProperties(prefix = "
consumer
")
+@ConfigurationProperties(prefix = "
sumup.requests
")
@Validated
@Getter
@Setter
@Validated
@Getter
@Setter
@@
-27,10
+27,23
@@
public class ApplicationProperties
private String clientId;
@NotNull
@NotEmpty
private String clientId;
@NotNull
@NotEmpty
- private String topic;
+ private String topic
In
;
@NotNull
@NotEmpty
private String autoOffsetReset;
@NotNull
private Duration commitInterval;
@NotNull
@NotEmpty
private String autoOffsetReset;
@NotNull
private Duration commitInterval;
+ @NotNull
+ @NotEmpty
+ private String topicOut;
+ @NotNull
+ @NotEmpty
+ private String acks;
+ @NotNull
+ private Integer batchSize;
+ @NotNull
+ private Integer lingerMs;
+ @NotNull
+ @NotEmpty
+ private String compressionType;
}
}