Add automatic worker discovery to console#372
Merged
gabotechs merged 16 commits intodatafusion-contrib:mainfrom Mar 24, 2026
Merged
Add automatic worker discovery to console#372gabotechs merged 16 commits intodatafusion-contrib:mainfrom
gabotechs merged 16 commits intodatafusion-contrib:mainfrom
Conversation
3af59fc to
6a34c46
Compare
gabotechs
reviewed
Mar 18, 2026
Console now supports two modes: - Auto-discovery (default): connects to a seed worker, calls GetClusterWorkers to find all cluster workers, and re-polls every 5s for topology changes - Manual mode (--cluster-ports): unchanged behavior for local dev New --connect flag specifies a seed URL; defaults to localhost:6789
…gument Remove DEFAULT_WORKER_PORT from the library and make the console port a required positional argument instead of silently defaulting to 9001.
0ddbde1 to
8c87e4a
Compare
gabotechs
approved these changes
Mar 23, 2026
Collaborator
gabotechs
left a comment
There was a problem hiding this comment.
👍 nice! no comments, this looks good
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The console now always discovers workers via
GetClusterWorkersRPC. This change enables the console to automatically discover workers over the network. Instrumentation now works like so:Summary
GetClusterWorkersgRPC to the observability service that returns all known worker URLs by delegating to the existingWorkerResolvertrait--cluster-portsCLI flag with a--connectseed URL (defaults to port 9001)WorkerResolverDEFAULT_WORKER_PORT(9001) as the canonical default across the codebaseconsole/README.mdand update all example docs for the new auto-discovery workflow