Replies: 1 comment
|
Two Collectors is the right shape here, and your configs are basically correct — let me map them to your pipeline and flag the one thing that usually breaks it. Topic flow
So Flink reads 1. Which topic does Flink read/write — reads 2. Multiple kafka receivers? — No. One receiver consuming one topic (or a list) is enough. You'd only add a second receiver if you consumed another, differently-encoded topic. 3. Two Collectors? — Yes. The data leaves to Kafka, gets transformed by Flink, and comes back on a different topic; a single Collector can't pause mid-pipeline for Flink, so a-then-b is correct. The thing that actually bites: Config-key version note (worth pinning):
If span ordering matters for your Flink logic: spans of one trace can land on different partitions of Net: the two-Collector design is right — the field to double-check is collector-b's |
Uh oh!
There was an error while loading. Please reload this page.
I have the following pipeline:
OTel Collector → Kafka (otlp_spans) → Flink → Kafka (processed_otlp_spans) → OTel Collector → ClickHouse
I'm confused about:
Do I need two OpenTelemetry Collectors in this pipeline?
collector-a
collector-b
java-flink code
All reactions