forked from grafana/alloy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Otel receivers spawn on need (grafana#687)
* Spawn otelcol receivers on need. Spawning a receiver for every signal for every receiver component was not needed and created errors with the kafka receivers. Now the otelcol receiver checks which signals are needed and spawn the corresponding receivers. * changelog entry * add warning when more than one signal is set for the output of the kafka receiver * cleanup * use validate instead of logging * update doc * add test to checkt that the receiver spawns the correct receivers on update * doc typo * remove default value in code * update tests * Update docs/sources/reference/components/otelcol.receiver.kafka.md Co-authored-by: Paulin Todev <paulin.todev@gmail.com> * Update internal/component/otelcol/receiver/kafka/kafka.go Co-authored-by: Paulin Todev <paulin.todev@gmail.com> * Update docs/sources/reference/components/otelcol.receiver.kafka.md Co-authored-by: Paulin Todev <paulin.todev@gmail.com> * adapt tests * make test more readable --------- Co-authored-by: Paulin Todev <paulin.todev@gmail.com>
- Loading branch information
Showing
7 changed files
with
155 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
internal/converter/internal/otelcolconvert/testdata/kafka.alloy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters