refactor: slim history app consumer config

This commit is contained in:
lingniu
2026-07-01 04:46:47 +08:00
parent f1f29ddd4e
commit 84a098d84c
3 changed files with 23 additions and 29 deletions

View File

@@ -61,7 +61,7 @@ public class EventHistoryAutoConfiguration {
@Bean
@ConditionalOnBean(EventFileStore.class)
@ConditionalOnMissingBean
@ConditionalOnMissingBean(value = {TdengineHistoryWriter.class, EventHistoryEnvelopeIngestor.class})
public EventHistoryEnvelopeIngestor eventHistoryEnvelopeIngestor(EventFileStore store,
TelemetryEnvelopeRecordMapper mapper,
ObjectProvider<TdengineHistoryWriter> writer) {