Fixes open-telemetry#2650
Changes:
Replace: ReceiverCreateParams, ProcessorCreateParams, ExtensionCreateParams and ExporterCreateParams with ComponentSettings struct
Replace all dependencies in Extensions, Exporters, Processors and Receivers
Replace Parameters and settings structs with new struct Settings
Replace dependencies in service and main
Update tests
Signed-off-by: Patryk Matyjasek <[email protected]>
# Conflicts:
# exporter/kafkaexporter/factory.go
# exporter/kafkaexporter/factory_test.go
# exporter/kafkaexporter/kafka_exporter.go
# exporter/kafkaexporter/kafka_exporter_test.go
# exporter/prometheusexporter/factory.go
# receiver/jaegerreceiver/jaeger_agent_test.go
# receiver/jaegerreceiver/trace_receiver_test.go
# receiver/kafkareceiver/factory.go
# receiver/kafkareceiver/factory_test.go
# receiver/kafkareceiver/kafka_receiver.go
# receiver/kafkareceiver/kafka_receiver_test.go
# Conflicts:
# processor/batchprocessor/batch_processor.go
# processor/batchprocessor/batch_processor_test.go
# processor/batchprocessor/factory.go
# processor/filterprocessor/filter_processor_test.go
# service/application.go
# Conflicts:
# cmd/otelcol/main.go
# component/component.go
# component/exporter.go
# component/extension.go
# component/processor.go
# component/processor_test.go
# component/receiver.go
# exporter/exporterhelper/factory_test.go
# extension/extensionhelper/factory_test.go
# processor/batchprocessor/batch_processor.go
# processor/processorhelper/factory_test.go
# receiver/jaegerreceiver/factory.go
# receiver/jaegerreceiver/trace_receiver_test.go
# receiver/otlpreceiver/factory.go
# receiver/prometheusreceiver/factory.go
# receiver/receiverhelper/factory_test.go
# service/application.go
# service/application_test.go
# service/defaultcomponents/default_exporters_test.go
# service/defaultcomponents/default_extensions_test.go
# service/defaultcomponents/default_processors_test.go
# service/defaultcomponents/default_receivers_test.go
# service/internal/builder/exporters_builder.go
# service/internal/builder/extensions_builder.go
# service/internal/builder/pipelines_builder.go
# service/internal/builder/receivers_builder.go
# service/service.go
# service/service_test.go
# testbed/testbed/otelcol_runner.go