this repo has no description
1from typing import List
2
3from pydantic_settings import BaseSettings
4
5
6class Config(BaseSettings):
7 clickhouse_host: str = "localhost"
8 clickhouse_port: int = 8123
9 clickhouse_user: str = "default"
10 clickhouse_pass: str = "clickhouse"
11
12 batch_size: int = 1000
13
14 kafka_bootstrap_servers: List[str] = ["localhost:9092"]
15 kafka_input_topic: str = "tap-events"
16 kafka_group_id: str = "followgrap-indexer"
17 kafka_auto_offset_reset: str = "earliest"
18
19 metrics_port: int = 8500
20 metrics_host: str = "0.0.0.0"
21
22
23CONFIG = Config()