Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kafkareceiver] - Add string unmarshaler #21730

Closed
VihasMakwana opened this issue May 10, 2023 · 7 comments
Closed

[kafkareceiver] - Add string unmarshaler #21730

VihasMakwana opened this issue May 10, 2023 · 7 comments
Labels

Comments

@VihasMakwana
Copy link
Contributor

VihasMakwana commented May 10, 2023

Component(s)

No response

Is your feature request related to a problem? Please describe.

I can't send and receive raw strings.

Describe the solution you'd like

Currently, if I use a console producer and console consumer, kafkareceiver only allows to unmarshal otlp, zipkin or jaeger.
If I'm just sending raw string, the only option I have is to select raw unmarshaler and it will send data in bytes.
It would be great to have a string unmarshaler.

Describe alternatives you've considered

No response

Additional context

No response

@VihasMakwana VihasMakwana added enhancement New feature or request needs triage New item requiring triage labels May 10, 2023
@github-actions
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@atoulme atoulme added receiver/kafka and removed needs triage New item requiring triage labels May 10, 2023
@github-actions
Copy link
Contributor

Pinging code owners for receiver/kafka: @pavolloffay @MovieStoreGuy. See Adding Labels via Comments if you do not have permissions to add labels yourself.

@MovieStoreGuy
Copy link
Contributor

Could you give more details as to why you believe string should be an encoding type?

I am not exactly sure the difference to raw here.

@VihasMakwana
Copy link
Contributor Author

Yeah actually.
here's my setup
1). Kafka console consumer
2). [OTEL] Kafka receiver
3). [OTEL] Splunk HEC exporter

I'm sending a string "Event" in kafka consumer and I receive "RXZlbnQ=" in Splunk Dashboard i.e. base64 encoding of "Event".
So, I think we can have a string unmarshaller.
I'm setting encoding as "raw"

@atoulme
Copy link
Contributor

atoulme commented May 11, 2023

See #20734

@atoulme atoulme changed the title [kafkareceiver] - Add string unmarshler [kafkareceiver] - Add string unmarshaler May 11, 2023
@github-actions
Copy link
Contributor

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@github-actions github-actions bot added the Stale label Jul 10, 2023
@VihasMakwana
Copy link
Contributor Author

VihasMakwana commented Jul 10, 2023

Closing as it's duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants