Skip to content

Conversation

@paulojmdias
Copy link
Member

Description

This PR adds franz-go support to the kafkametricsreceiver, behind a feature gate (receiver.kafkametricsreceiver.UseFranzGo).

Link to tracking issue

Fixes #41480

Testing

Tested locally and added tests for trying to cover all the current Sarama ones.

Documentation

Updated README.md with reference about opt-in using franz-go library.

… under a feature gate

Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
atoulme added a commit that referenced this pull request Sep 28, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Seems the CI for `scoped-tests-matrix (windows-latest)` is failing due
to the `Build gotestsum on Windows` error.

```sh
Run make "$(${PWD} -replace '\\', '/')/.tools/gotestsum"
make: *** No rule to make target 'D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/.tools/gotestsum'.  Stop.
Error: Process completed with exit code 1.
```

See
https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/18048822328/job/51369899669?pr=43018
and
https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/18050658515/job/51371803867?pr=43019

I think we can simplify the `Build gotestsum` task into a single one
using the `working-directory` definition, and this should fix the issue.

Found the issue in:
-
#43018
-
#43019

Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Co-authored-by: Antoine Toulme <atoulme@splunk.com>
atoulme added a commit to atoulme/opentelemetry-collector-contrib that referenced this pull request Sep 28, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->

Seems the CI for `scoped-tests-matrix (windows-latest)` is failing due
to the `Build gotestsum on Windows` error.

```sh
Run make "$(${PWD} -replace '\\', '/')/.tools/gotestsum"
make: *** No rule to make target 'D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/.tools/gotestsum'.  Stop.
Error: Process completed with exit code 1.
```

See
https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/18048822328/job/51369899669?pr=43018
and
https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/18050658515/job/51371803867?pr=43019

I think we can simplify the `Build gotestsum` task into a single one
using the `working-directory` definition, and this should fix the issue.

Found the issue in:
-
open-telemetry#43018
-
open-telemetry#43019

Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Co-authored-by: Antoine Toulme <atoulme@splunk.com>
atoulme added a commit to atoulme/opentelemetry-collector-contrib that referenced this pull request Sep 28, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->

Seems the CI for `scoped-tests-matrix (windows-latest)` is failing due
to the `Build gotestsum on Windows` error.

```sh
Run make "$(${PWD} -replace '\\', '/')/.tools/gotestsum"
make: *** No rule to make target 'D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/.tools/gotestsum'.  Stop.
Error: Process completed with exit code 1.
```

See
https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/18048822328/job/51369899669?pr=43018
and
https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/18050658515/job/51371803867?pr=43019

I think we can simplify the `Build gotestsum` task into a single one
using the `working-directory` definition, and this should fix the issue.

Found the issue in:
-
open-telemetry#43018
-
open-telemetry#43019

Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Co-authored-by: Antoine Toulme <atoulme@splunk.com>
@dmitryax dmitryax merged commit 5806cfe into open-telemetry:main Oct 5, 2025
185 checks passed
@github-actions github-actions bot added this to the next release milestone Oct 5, 2025
@paulojmdias paulojmdias deleted the feat/41480 branch October 5, 2025 07:32
graphaelli pushed a commit to graphaelli/opentelemetry-collector-contrib that referenced this pull request Oct 6, 2025
… under a feature gate (open-telemetry#43019)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

This PR adds franz-go support to the kafkametricsreceiver, behind a
feature gate (`receiver.kafkametricsreceiver.UseFranzGo`).

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes open-telemetry#41480 

<!--Describe what testing was performed and which tests were added.-->
#### Testing

Tested locally and added tests for trying to cover all the current
Sarama ones.

<!--Describe the documentation added.-->
#### Documentation

Updated README.md with reference about opt-in using franz-go library.

<!--Please delete paragraphs that you did not use before submitting.-->

---------

Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
tommyers-elastic pushed a commit to tommyers-elastic/opentelemetry-collector-contrib that referenced this pull request Oct 10, 2025
… under a feature gate (open-telemetry#43019)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

This PR adds franz-go support to the kafkametricsreceiver, behind a
feature gate (`receiver.kafkametricsreceiver.UseFranzGo`).

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes open-telemetry#41480 

<!--Describe what testing was performed and which tests were added.-->
#### Testing

Tested locally and added tests for trying to cover all the current
Sarama ones.

<!--Describe the documentation added.-->
#### Documentation

Updated README.md with reference about opt-in using franz-go library.

<!--Please delete paragraphs that you did not use before submitting.-->

---------

Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
songy23 pushed a commit that referenced this pull request Oct 10, 2025
#### Description

I would like to propose adding @paulojmdias as a code owner of the Kafka
components. He has been doing excellent work across all of those
components (and more besides!).

-
#42507
-
#42796
-
#43105
-
#42181
-
#42327
-
#42507
-
#42796
-
#43019
-
#43083
-
#43105

#### Link to tracking issue

N/A

#### Testing

N/A

#### Documentation

N/A
ChrsMark pushed a commit to ChrsMark/opentelemetry-collector-contrib that referenced this pull request Oct 20, 2025
#### Description

I would like to propose adding @paulojmdias as a code owner of the Kafka
components. He has been doing excellent work across all of those
components (and more besides!).

-
open-telemetry#42507
-
open-telemetry#42796
-
open-telemetry#43105
-
open-telemetry#42181
-
open-telemetry#42327
-
open-telemetry#42507
-
open-telemetry#42796
-
open-telemetry#43019
-
open-telemetry#43083
-
open-telemetry#43105

#### Link to tracking issue

N/A

#### Testing

N/A

#### Documentation

N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[receiver/kafkametrics] Add franz-go client feature gate like kafkareceiver/kafkaexporter

3 participants