Align Kafka's missingTopicsFatal default value

See gh-20917
This commit is contained in:
dhimathu
2020-04-11 12:11:32 +05:30
committed by Stephane Nicoll
parent 856543c1c2
commit a12eace2a8
2 changed files with 16 additions and 3 deletions

View File

@@ -53,6 +53,7 @@ import org.springframework.util.unit.DataSize;
* @author Stephane Nicoll
* @author Artem Bilan
* @author Nakul Mishra
* @author Dhiren Mathur
* @since 1.5.0
*/
@ConfigurationProperties(prefix = "spring.kafka")
@@ -876,7 +877,7 @@ public class KafkaProperties {
* Whether the container should fail to start if at least one of the configured
* topics are not present on the broker.
*/
private boolean missingTopicsFatal = true;
private boolean missingTopicsFatal = false;
public Type getType() {
return this.type;