-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Fleet] Improve validation for dynamic Kafka topics #212422
[Fleet] Improve validation for dynamic Kafka topics #212422
Conversation
… and added wrapper to combobox items
Pinging @elastic/fleet (Team:Fleet) |
@elasticmachine merge upstream |
...pplications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.tsx
Outdated
Show resolved
Hide resolved
...pplications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.tsx
Outdated
Show resolved
Hide resolved
...pplications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.tsx
Outdated
Show resolved
Hide resolved
...pplications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.tsx
Outdated
Show resolved
Hide resolved
...pplications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.tsx
Outdated
Show resolved
Hide resolved
…upplementing/kibana into fix-kafka-dynamic-topic-output
Looking at the dropdown I wonder if we can change the "not recommended" text. I don't think we need to explicitly discourage the dynamic topic syntax like that. |
I agree, it does make it feel like you're 'doing something wrong', when its really just a more 'advanced option' than inherently wrong, or to be discouraged. |
@kpollich Also, do you think its worth maybe linking to the docs somewhere in the UI with it being a little bit more advanced and prone to user error? If so, @criamico mentioned it in the issue, but the docs dont explicitly lay out the multi-format string as being an option, so we likely need to get those up-to-date as well. |
Yeah we can link to those docs and probably file an issue in https://github.com/elastic/ingest-docs to get those filebeat docs updated to go into more detail about the dynamic topic syntax. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last thing to update and this will be good to go from me
...lications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_topics.tsx
Outdated
Show resolved
Hide resolved
...lications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_topics.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work 🚀
@kpollich I hope it's okay: I transferred this docs issue into the beats repo (elastic/beats#42932) since (as far as I know) the ingest-docs repo has been used only for Fleet & Elastic Agent updates. This may all change soon though with the docs migration. Thanks for opening it @Supplementing! |
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Async chunks
Page load bundle
History
|
...ations/fleet/sections/settings/components/edit_output_flyout/output_form_validators.test.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚢
Just one super small suggestion for the error text.
Closes #206194
Summary
Screen.Recording.2025-02-26.at.7.30.18.AM.mov
%{[]}
to fix issues arising from the user pre-wrapping, and also allow greater flexibility in naming%
precedingvalue
field of items chosen from the dropdown to ensure they were always wrapped as intendedChecklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
release_note:breaking
label should be applied in these situations.release_note:*
label is applied per the guidelinesIdentify risks
n/a