This is part 1 of the task to introduce capabilities and declare processor's intent to mutate or not mutate consumed data for the purpose of optimizing pipeline data ownership. If a processor declares that they mutate data the pipeline that the processor is in will use cloning fan out connector. This is done only if the pipeline shares a receiver with another pipeline. This ensures that it is safe for processor modify the data (because pipelines work concurrently) and avoids cloning for pipelines that consume data from the same receiver but do not modify it. For more details see: https://github.com/open-telemetry/opentelemetry-collector/issues/372 |
||
---|---|---|
.. | ||
consumerdata | ||
consumererror | ||
consumer.go | ||
empty_test.go |