redpanda-data / redpanda

Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
https://redpanda.com
9.46k stars 579 forks source link

rpk: introduce license warnings messages #23472

Open r-vasquez opened 3 days ago

r-vasquez commented 3 days ago

This PR introduces a license warning message whenever a user runs an rpk command that uses the admin API and the cluster has enterprise features with an invalid license.

Example

$ rpk cluster health
You're using Enterprise features in your Redpanda cluster: [partition_auto_balancing_continuous]. These features require a license, visit https://docs.redpanda.com/current/get-started/licenses for more information.
CLUSTER HEALTH OVERVIEW
=======================
Healthy:                          true
...

Backports Required

Release Notes

Improvements

r-vasquez commented 1 day ago

/dt

vbotbuildovich commented 1 day ago

ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/55258#0192307e-65a5-41d9-b158-6e0768776609

ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/55342#01923506-c2cb-45b9-be04-412df2942212