diff --git a/CHANGELOG.md b/CHANGELOG.md index 009f15c7c38..5cfbe2100e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### 🛑 Breaking changes 🛑 +- Remove deprecated `consumerhelper` package (#5028) - Remove pdata `InternalRep` deprecated funcs (#5018) - Remove service/defaultcomponents deprecated package (#5019) diff --git a/consumer/consumerhelper/common.go b/consumer/consumerhelper/common.go deleted file mode 100644 index 0081fc50bde..00000000000 --- a/consumer/consumerhelper/common.go +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright The OpenTelemetry Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package consumerhelper // import "go.opentelemetry.io/collector/consumer/consumerhelper" - -import ( - "go.opentelemetry.io/collector/consumer" -) - -// Deprecated: [v0.47.0] use consumer.Option -type Option = consumer.Option - -// Deprecated: [v0.47.0] use consumer.WithCapabilities -var WithCapabilities = consumer.WithCapabilities diff --git a/consumer/consumerhelper/logs.go b/consumer/consumerhelper/logs.go deleted file mode 100644 index 7ac046fe639..00000000000 --- a/consumer/consumerhelper/logs.go +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright The OpenTelemetry Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package consumerhelper // import "go.opentelemetry.io/collector/consumer/consumerhelper" - -import ( - "go.opentelemetry.io/collector/consumer" -) - -// Deprecated: [v0.47.0] use consumer.ConsumeLogsFunc -type ConsumeLogsFunc = consumer.ConsumeLogsFunc - -// Deprecated: [v0.47.0] use consumer.NewLogs -var NewLogs = consumer.NewLogs diff --git a/consumer/consumerhelper/metrics.go b/consumer/consumerhelper/metrics.go deleted file mode 100644 index 61dfe5eba52..00000000000 --- a/consumer/consumerhelper/metrics.go +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright The OpenTelemetry Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package consumerhelper // import "go.opentelemetry.io/collector/consumer/consumerhelper" - -import ( - "go.opentelemetry.io/collector/consumer" -) - -// Deprecated: [v0.47.0] use consumer.ConsumeMetricsFunc -type ConsumeMetricsFunc = consumer.ConsumeMetricsFunc - -// Deprecated: [v0.47.0] use consumer.NewMetrics -var NewMetrics = consumer.NewMetrics diff --git a/consumer/consumerhelper/traces.go b/consumer/consumerhelper/traces.go deleted file mode 100644 index b232f01433e..00000000000 --- a/consumer/consumerhelper/traces.go +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright The OpenTelemetry Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package consumerhelper // import "go.opentelemetry.io/collector/consumer/consumerhelper" - -import ( - "go.opentelemetry.io/collector/consumer" -) - -// Deprecated: [v0.47.0] use consumer.ConsumeTracesFunc -type ConsumeTracesFunc = consumer.ConsumeTracesFunc - -// Deprecated: [v0.47.0] use consumer.NewTraces -var NewTraces = consumer.NewTraces