-
Notifications
You must be signed in to change notification settings - Fork 593
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
Remove cloud-specific topics from topic protection defaults #9453
Remove cloud-specific topics from topic protection defaults #9453
Conversation
src/v/config/configuration.cc
Outdated
@@ -966,7 +966,7 @@ configuration::configuration() | |||
"kafka_nodelete_topics", | |||
"Prevents the topics in the list from being deleted via the kafka api", | |||
{.needs_restart = needs_restart::no, .visibility = visibility::user}, | |||
{"__audit", "__consumer_offsets", "__redpanda_e2e_probe", "_schemas"}) | |||
{"__audit", "__consumer_offsets", "_schemas"}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@graphcareful any implications on metering?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, metering has its own hardcoded list of topics:
static const auto usage_excluded_topics = std::to_array(
{model::topic("_schemas"),
model::topic("__audit"),
model::topic("__redpanda_e2e_probe")});
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So is this PR good to go, @dotnwat and @graphcareful ?
a3c6f88
to
f2a8d78
Compare
cc: @tcoupland and @bpraseed and @c4milo - we need cloud to propagate this property w/ the e2e probe. |
/backport v23.1.x |
@emaxerrno, it was done early on by @pvsune but we reverted due to the operator not being able to handle list of strings as value: https://github.com/redpanda-data/redpanda/blob/dev/src/go/k8s/apis/redpanda/v1alpha1/cluster_types.go#LL163C37-L163C44 |
was there an associated issue for this change? |
This removes Cloud-specific internal topics from the internal topic protection defaults. This is mainly to enforce a separation of concerns as the Cloud team should be able to maintain their own set of defaults that are applied with k8s.
Backports Required
Release Notes