feat(clickhouse): wire ChunkAccumulator, flush scheduler, and search feature flag

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-03-31 19:21:19 +02:00
parent 6052407c82
commit 31f7113b3f
5 changed files with 64 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ import org.opensearch.client.opensearch.indices.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Repository;
import java.io.IOException;
@@ -30,6 +31,7 @@ import java.util.*;
import java.util.stream.Collectors;
@Repository
@ConditionalOnProperty(name = "cameleer.storage.search", havingValue = "opensearch", matchIfMissing = true)
public class OpenSearchIndex implements SearchIndex {
private static final Logger log = LoggerFactory.getLogger(OpenSearchIndex.class);