https://signoz.io logo
#support
Title
# support
s

sarthak gupta

05/17/2023, 4:02 AM
hello everyone , is it recommended to use kafka broker as receiver of telem data to export in clickhouse instead of standard grpc in case we need to handle high scale and keep fault tolerance so as to prevent possible data loss in case storage/clickhouse failure ?
s

Srikanth Chekuri

05/18/2023, 1:50 AM
How much scale are we talking about? It might be overkill for regular users. Just putting the queue alone doesn’t guarantee the prevention of data loss since exporter will eventually drop the data when ClickHouse is not reachable.
a

Ankit Nayan

05/18/2023, 4:07 AM
It might be overkill for regular users.
correct. I think the data flow would look like otel-collector => kafka => clickhouse so we expect Kafka to handle bursts in traffic and downtime of clickhouse
s

Srikanth Chekuri

05/18/2023, 4:55 AM
They mentioned they want to use it as a receiver as a substitute for the gRPC OTLP receiver and then export it to ClickHouse.
s

sarthak gupta

05/18/2023, 8:52 AM
ok , so is there a way to implement some circuit breaking mechanism at microservice level keeping transport mechanism to as it is (gRPC) which can be pass with other env variables so that source service does not become down in case signoz backend is completely down as it will be continuously sending telemetry event to signoz , just faced this on my basic setup and testing
a

Ankit Nayan

05/18/2023, 2:05 PM
source service starts dropping telemetry data if signoz is down. It should not affect application other than it will need more memory to keep a batch after which it starts dropping data. The service will also print logs about being unable to send data to signoz but application should work just fine
5 Views