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

[v24.2.x] rpk connect as a managed plugin #23351

Merged

Conversation

r-vasquez
Copy link
Contributor

This is a manual backport of all the PRs that makes the feature rpk connect as a managed plugin:

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v24.2.x
  • v24.1.x
  • v23.3.x

Release Notes

Improvements

  • rpk connect now will be downloaded on the first run.
  • rpk: introduce rpk connect install, rpk connect upgrade, and rpk connect uninstall, manual ways to manage rpk connect versioning.

This flag is not used at the moment but it was
missing the shorthand parsing.

(cherry picked from commit 3c75192)
This commit fixes a bug where if we were parsing
a boolean long flag (let's say: --version), we
will end up keeping the next argument after the flag, even if it was not needed.

(cherry picked from commit e2dff07)
We supported JSON and XML, now we add YAML.

(cherry picked from commit 1a49b90)
This change means that from now on, connect will
be managed by rpk, so, if a user tries to run
`rpk connect <...>` for the first time, rpk will
download, install and execute the plugin (connect).

It also introduces 3 new commands to `rpk conenct`
that live in rpk: install, uninstall, and upgrade.

(cherry picked from commit b3e9211)
Increased the timeout to 60, we still have room
to grow here since rpk's timeout is 240.

(cherry picked from commit 2cc1daf)
Users who manage Redpanda Connect through the
redpanda-connect package, or install it manually
may not want rpk to rename their binary.

(cherry picked from commit 310160c)
Expand the usage and renames Year -> Major

(cherry picked from commit 2b3588e)
Now it will prompt the user if the upgrade
contains a major version bump.

We will also print the installed version
in `rpk connect install` for better UX.

(cherry picked from commit b251619)
@r-vasquez
Copy link
Contributor Author

Merge must be coordinated with https://github.com/redpanda-data/vtools/pull/3119

@r-vasquez r-vasquez merged commit a9fb007 into redpanda-data:v24.2.x Sep 18, 2024
24 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