-
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
🌊 Streams: Move routing into wired object in the API #213121
base: main
Are you sure you want to change the base?
Conversation
@@ -241,9 +241,6 @@ export async function syncUnwiredStreamDefinitionObjects({ | |||
dataStream: IndicesDataStream; | |||
definition: UnwiredStreamDefinition; | |||
}) { | |||
if (definition.ingest.routing.length) { |
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.
ℹ️ Not necessary anymore since zod will do this validation for us
💚 Build Succeeded
Metrics [docs]Async chunks
History
|
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
Since we decided we don't want to provide routing for classic streams, it doesn't make sense to be on the level of the ingest stream in the API. This PR moves routing next to fields to make clear that it's only supported for wired streams.