Skip to content

Conversation

@psFried
Copy link
Contributor

@psFried psFried commented Aug 24, 2023

This fixes an old bug in shards prune where it failed to use the --broker.address argument when creating the client.

In addition, this cleans up most of the places where gazctl subcommands were creating multiple new clients for a single operation, and consolidates down to a single client of each type per program invocation.


This change is Reviewable

This fixes an old bug in `shards prune` where it failed to use the
`--broker.address` argument when creating the client.

In addition, this cleans up most of the places where gazctl subcommands were
creating multiple new clients for a single operation, and consolidates down to
a single client of each type per program invocation.
@psFried psFried requested a review from jgraettinger August 24, 2023 22:36
Copy link
Contributor

@jgraettinger jgraettinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM % more testing

@psFried
Copy link
Contributor Author

psFried commented Aug 25, 2023

I tested all the subcommands, and everything seems to be working as intended. And shards prune got a noticeable speedup due from re-using the same clients.

@psFried psFried merged commit 54d7626 into master Aug 25, 2023
@psFried psFried deleted the phil/shards-prune-args branch August 25, 2023 11:54
psFried added a commit to estuary/flow that referenced this pull request Aug 25, 2023
psFried added a commit to estuary/flow that referenced this pull request Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants