TMP rebase--2024-02-23--16-28
authorKai Moritz <kai@juplo.de>
Fri, 23 Feb 2024 15:25:24 +0000 (16:25 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 23 Feb 2024 15:25:24 +0000 (16:25 +0100)
src/main/java/de/juplo/kafka/chat/backend/ChatBackendConfiguration.java

index cdd0215..ad944fa 100644 (file)
@@ -4,7 +4,6 @@ import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
 import org.springframework.boot.autoconfigure.data.mongo.MongoReactiveDataAutoConfiguration;
 import org.springframework.boot.autoconfigure.data.mongo.MongoReactiveRepositoriesAutoConfiguration;
-import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
 import org.springframework.boot.autoconfigure.mongo.MongoReactiveAutoConfiguration;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
@@ -29,8 +28,7 @@ public class ChatBackendConfiguration
   @EnableAutoConfiguration(exclude = {
       MongoReactiveDataAutoConfiguration.class,
       MongoReactiveAutoConfiguration.class,
-      MongoReactiveRepositoriesAutoConfiguration.class,
-      MongoAutoConfiguration.class })
+      MongoReactiveRepositoriesAutoConfiguration.class })
   public static class DisableMongoDBConfiguration
   {
   }