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

[8.x] 🌊 Streams: Centralize stream name helpers (#208148) #208162

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

Most helpers for dealing with stream names are already centralized in
the `hierarchy.ts` helper, something non-trivial we did in multiple
places is listing out all ancestors.

This PR is centralizing that as well - the idea is that we never mess
with `split('.')` and `join('.')` directly throughout the code base. If
we decide later on to give more structure to stream names (e.g. special
handling for DSNS names), it will be much easier to change it.

(cherry picked from commit d75ffa9)
@kibanamachine kibanamachine merged commit 8ef228a into elastic:8.x Jan 24, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants