confluentinc / cli

CLI for Confluent Cloud and Confluent Platform
https://docs.confluent.io/confluent-cli/current/overview.html
Other
56 stars 10 forks source link

[CLI-3313] Support Flink statement resume with updated principal and computepool id #2922

Open channingdong opened 1 week ago

channingdong commented 1 week ago

Release Notes

This PR supports resume the Flink statement with below different valid scenarios:

And invalid scenarios:

New Features

`Request to resume statement "my-statement" with service account "sa-123456" and move to compute pool "lfcp-123456".`
confluent flink statement update my-statement --stopped=false --principal sa-123456 --compute-pool lfcp-123456
confluent flink statement resume my-statement --principal sa-123456 --compute-pool lfcp-123456

Checklist

What

References

Test & Review

Manual verification: https://docs.google.com/document/d/1q93WL5HXyh9i4143tQwbTyBs5LwIUbieiRL4IQT-PWc/edit?tab=t.0#heading=h.q4ezisb3sd4t

confluent-cla-assistant[bot] commented 1 week ago

:tada: All Contributor License Agreements have been signed. Ready to merge.
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.