Skip to content

Commit a8f5db2

Browse files
authored
Make data stream lifecycle project-aware (#125476)
Now that all actions that DLM depends on are project-aware, we can make DLM itself project-aware. There still exists only one instance of `DataStreamLifecycleService`, it just loops over all the projects - which matches the approach we've taken for similar scenarios thus far.
1 parent be9ebd0 commit a8f5db2

File tree

5 files changed

+382
-401
lines changed

5 files changed

+382
-401
lines changed

modules/data-streams/src/main/java/org/elasticsearch/datastreams/DataStreamsPlugin.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@ public Collection<?> createComponents(PluginServices services) {
211211
errorStoreInitialisationService.get(),
212212
services.allocationService(),
213213
dataStreamLifecycleErrorsPublisher.get(),
214-
services.dataStreamGlobalRetentionSettings()
214+
services.dataStreamGlobalRetentionSettings(),
215+
services.projectResolver()
215216
)
216217
);
217218
dataLifecycleInitialisationService.get().init();

0 commit comments

Comments
 (0)