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

Usage of ProtobufRawDecoder unclear #4382

Open
4 tasks done
PreNoob opened this issue Feb 14, 2024 · 3 comments
Open
4 tasks done

Usage of ProtobufRawDecoder unclear #4382

PreNoob opened this issue Feb 14, 2024 · 3 comments
Labels
status/triage Issues pending maintainers triage type/bug Something isn't working

Comments

@PreNoob
Copy link

PreNoob commented Feb 14, 2024

Issue submitter TODO list

  • I've looked up my issue in FAQ
  • I've searched for an already existing issues here
  • I've tried running master-labeled docker image and the issue still persists there
  • I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)

I want to use the ProtobufRawDecoder as mentioned in the docs here.

I configured it like so:

  kafka:
    clusters:
      - name: some-name
        bootstrapservers: some-bootstrapservers
        properties:
          ....
        serde:
          - name: ProtobufRawDecoder

Resulting in the following error

Caused by: com.provectus.kafka.ui.exception.ValidationException: 'className' property not set for custom serde ProtobufRawDecoderRow

After that I've checked the code for the protobuf raw serde and the name here is ProtobufDecodeRaw.

  kafka:
    clusters:
      - name: some-name
        bootstrapservers: some-bootstrapservers
        properties:
          ....
        serde:
          - name: ProtobufDecodeRaw

results in a similar error

Caused by: com.provectus.kafka.ui.exception.ValidationException: 'className' property not set for custom serde ProtobufDecodeRaw

Adding className: com.provectus.kafka.ui.serdes.builtin.ProtobufRawSerde resulted in the following error:

Caused by: com.provectus.kafka.ui.exception.ValidationException: 'filePath' property not set for custom serde ProtobufDecodeRaw

Expected behavior

I would like to have proper documentation on how to setup/use the ProtobufRawDecoder.

Your installation details

  • App version: 56fa824
  • Helm chart version: 0.7.5

Steps to reproduce

Deployed the helm chart with the above mentioned configuration.

Screenshots

No response

Logs

No response

Additional context

No response

@PreNoob PreNoob added status/triage Issues pending maintainers triage type/bug Something isn't working labels Feb 14, 2024
Copy link

Hello there PreNoob! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

@pranavkapoorfanatics
Copy link

We are stuck here too. How do you make this work?

@pranavkapoorfanatics
Copy link

We were able to get this to work by using the master version of the image rather than latest. As @PreNoob pointed out, the Serde name has to be ProtobufDecodeRaw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/triage Issues pending maintainers triage type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants