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

fix(ui): Make edit header view available by default in ui #649

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

victorlev01
Copy link
Contributor

@victorlev01 victorlev01 commented Mar 13, 2024

Hello! Thanks for great project!
submitted issue with explaination #650

Problem - no schema for headers without schema in Kafka Listeners (HeadersNotDocumented schema).

Scenario - user wants to send custom headers in springwolf kafka ui, headers are not defined in schema and changes in internal implementation.

Now there are two workarounds to this:

  1. Define headers for schema using annotations
  2. Add example to schema HeadersNotDocumented
image

Problem - no schema for headers (varied json) defined in Kafka Listeners.

Scenario - user wants to send custom headers in springwolf kafka ui, headers are not defined in schema and changes in internal implementation.

Now there are two workarounds to this

1) Define headers for schema using annotations
2) Add example to schema HeadersNotDocumented
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to Springwolf. Thanks a lot for creating your first pull request. Please check out our contributors guide and feel free to join us on discord.

Copy link

netlify bot commented Mar 13, 2024

Deploy Preview for springwolf-ui ready!

Name Link
🔨 Latest commit 4cc8b0c
🔍 Latest deploy log https://app.netlify.com/sites/springwolf-ui/deploys/65f1d882475a450007503bbc
😎 Deploy Preview https://deploy-preview-649--springwolf-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@timonback
Copy link
Member

Hi @victorlev01 , thank you for the contribution.

Just to clarify, the issue is not that publishing does not work.
Instead in the case of HeadersNotDocumented, the header input box is not shown in the ui, leaving the user unable to modify the headers?

@victorlev01
Copy link
Contributor Author

Hi @timonback , thanks for quick response.

Yes, the issue is that the header input box is not shown in the ui.
So user cannot change headers there.

On controller side everything works as expected with HeadersNotDocumented.
Listener receives and can process them.

@timonback
Copy link
Member

Perfect, thanks for the clarification.

I'll merge it right away and it will be part of the next release 🎉

@timonback timonback merged commit b27e871 into springwolf:master Mar 15, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants