forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fleet] Add option to have Kafka dynamic topics in outputs (elastic#1…
…92720) ## Summary Add option to have Kafka dynamic topics in outputs settings. It adds selection with radio buttons under the `topic` section. ### UI changes ![Screenshot 2024-09-13 at 16 32 54](https://github.com/user-attachments/assets/9414f475-c115-4986-a204-eeb79471b7ea) ![Screenshot 2024-09-13 at 16 33 03](https://github.com/user-attachments/assets/ac36b1da-0e81-4f97-9632-ced8b5776af2) ![Screenshot 2024-09-13 at 16 33 12](https://github.com/user-attachments/assets/5ea3cf66-d929-45fb-aa3b-924734c34305) ![Screenshot 2024-09-13 at 16 33 40](https://github.com/user-attachments/assets/62e477c8-5719-41fe-94b1-4bdda0f00007) <details> <summary>Testing</summary> - Create a kafka output, fill the required fields, select "static" topic and fill it out with "default_topic". Payload will be: ![Screenshot 2024-09-13 at 16 36 50](https://github.com/user-attachments/assets/ea3761b8-39cb-40ce-bf1c-85e3af1f9d4b) - The output should be created correctly - Create a kafka output, fill the required fields, select "dynamic" topic and choose one from the dropdown. Payload will be: ![Screenshot 2024-09-13 at 16 36 23](https://github.com/user-attachments/assets/8d0d3ce4-5fb0-4c01-a939-b6a9d50da219) - Create a kafka output, fill the required fields, select "dynamic" topic and input one not present in the dropdown (I had "custom_topic". Payload will be like this: ![Screenshot 2024-09-13 at 16 35 52](https://github.com/user-attachments/assets/27347d01-3efc-4c23-85a8-f3287854de4f) </details> - Try updating an existing Kafka output from one type to another, it should work correctly ### Checklist - [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --------- Co-authored-by: Elastic Machine <[email protected]>
- Loading branch information
Showing
11 changed files
with
461 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.