Repository navigation
Conversation
adwk67
marked this pull request as ready for review
October 13, 2026 11:55
maltesander
self-requested a review
October 20, 2026 09:29
maltesander
requested changes
Oct 20, 2026
Co-authored-by: maltesander <contact@maltesander.com>
Co-authored-by: maltesander <contact@maltesander.com>
Reverts 95553e3 and d60d361. The eight variants are not unused: broker.rs and controller.rs import their `*Snafu` context selectors from `super` and construct them (probes, TLS and Kerberos volumes, listener volume, JVM args, pod descriptors, properties serialisation, secret lifetime). Without them the crate does not compile. The doc comment still holds: `build::Error::RoleGroup` adds the role and role group to every error from this module. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
maltesander
previously approved these changes
Oct 22, 2026
maltesander
left a comment
Member
There was a problem hiding this comment.
LGTM!
--- PASS: kuttl (1208.86s)
--- PASS: kuttl/harness (0.00s)
--- PASS: kuttl/harness/configuration_kafka-latest-3.9.2_openshift-false (11.45s)
--- PASS: kuttl/harness/delete-rolegroup_kafka-3.9.2_zookeeper-latest-3.9.6_openshift-false (41.21s)
--- PASS: kuttl/harness/logging_kafka-3.9.2_zookeeper-latest-3.9.6_openshift-false (121.49s)
--- PASS: kuttl/harness/smoke-kraft_kafka-kraft-3.9.2_openshift-false (281.61s)
--- PASS: kuttl/harness/opa_kafka-latest-3.9.2_zookeeper-latest-3.9.6_opa-latest-1.16.2_use-opa-tls-true_openshift-false_krb5-1.21.1 (158.76s)
--- PASS: kuttl/harness/smoke-kraft_kafka-kraft-4.3.1_openshift-false (288.99s)
--- PASS: kuttl/harness/smoke_kafka-3.9.2_zookeeper-3.9.6_use-client-tls-true_openshift-false (60.91s)
--- PASS: kuttl/harness/kraft-kerberos_kafka-kraft-3.9.2_openshift-false_krb5-1.21.1_kerberos-realm-CLUSTER.LOCAL_kerberos-backend-mit_broker-listener-class-cluster-internal (480.52s)
--- PASS: kuttl/harness/operations-kraft_kafka-kraft-4.3.1_openshift-false (382.54s)
--- PASS: kuttl/harness/kraft-kerberos_kafka-kraft-4.3.1_openshift-false_krb5-1.21.1_kerberos-realm-CLUSTER.LOCAL_kerberos-backend-mit_broker-listener-class-cluster-internal (509.59s)
--- PASS: kuttl/harness/cluster-operation_kafka-latest-3.9.2_zookeeper-latest-3.9.6_openshift-false (74.07s)
--- PASS: kuttl/harness/kerberos_kafka-3.9.2_zookeeper-latest-3.9.6_openshift-false_krb5-1.21.1_kerberos-realm-CLUSTER.LOCAL_kerberos-backend-mit_broker-listener-class-cluster-internal_bootstrap-listener-class-external-unstable (94.45s)
--- PASS: kuttl/harness/tls_kafka-3.9.2_zookeeper-latest-3.9.6_use-client-tls-true_use-client-auth-tls-true_openshift-false (172.78s)
--- PASS: kuttl/harness/upgrade_upgrade_old-3.9.2_upgrade_new-4.3.1_use-client-tls-true_use-client-auth-tls-true_openshift-false (113.92s)
--- PASS: kuttl/harness/operations-kraft_kafka-kraft-3.9.2_openshift-false (362.55s)
PASS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Part of https://github.com/stackabletech/internal-issues/issues/167
Overview of logic flow
%%{init: {"flowchart": {"wrappingWidth": 900, "htmlLabels": true}}}%% flowchart TB START["`**build()** mod.rs:88`"] START --> LB START --> LC subgraph broker_track["Broker track"] direction TB LB["`**loop** over broker_role_group_configs · mod.rs:92`"] RB["`**broker::build()** role_group/broker.rs:71 **role_config_map_data()** :120 · broker.properties, JAAS **common_config_map_data()** resource/config_map.rs:47 · shared entries **role_pod()** broker.rs:191 · kafka container, broker-only volumes **volume_claim_templates()** :166 · incl. bootstrap listener PVC`"] RBB["`**RoleGroupBuilder { .. }** broker.rs:96 · PARALLEL, no update strategy **build_broker_rolegroup_bootstrap_listener()** :112`"] LB --> RB --> RBB end subgraph controller_track["Controller track"] direction TB LC["`**loop** over controller_role_group_configs · mod.rs:106`"] RC["`**controller::build()** role_group/controller.rs:85 **role_config_map_data()** :133 · controller.properties, JAAS, admin-client.properties **common_config_map_data()** resource/config_map.rs:47 · shared entries **role_pod()** controller.rs:193 · kafka + quorum-manager containers, controller-only volumes **storage.build_pvcs()** :119`"] RCB["`**RoleGroupBuilder { .. }** controller.rs:110 · ORDERED_READY, RollingUpdate`"] LC --> RC --> RCB end RBB --> ADD RCB --> ADD ADD["`**RoleGroupResources::add()** mod.rs:67 **build_services()** role_group/mod.rs:120 · headless + metrics Service **build_config_map()** resource/config_map.rs:100 · wraps builder.config_map_data **build_statefulset()** resource/statefulset.rs:69 · builder.role_pod_volumes :80, builder.role_containers :82, then **add_common_pod_config()** :153 · config/log volumes, service account **add_vector_container()** :191 · **add_graceful_shutdown_config()** :112 · pod overrides last`"] ADD --> OUT["`**KubernetesResources { .. }** mod.rs:129 **build_pdb()** per role :117 · **build_discovery_configmap()** :127 · **build_service_account()** · **build_role_binding()**`"] OUT --> APPLY["`**apply()** controller.rs:530 · outside build/`"] classDef broker fill:#dbeafe,stroke:#1d4ed8,color:#1e3a8a classDef controller fill:#fde68a,stroke:#b45309,color:#78350f classDef shared fill:#e5e7eb,stroke:#4b5563,color:#111827 classDef edge fill:#ffffff,stroke:#6b7280,color:#111827,stroke-dasharray:4 2 class LB,RB,RBB broker class LC,RC,RCB controller class ADD,OUT shared class START,APPLY edge style broker_track fill:#eff6ff,stroke:#93c5fd style controller_track fill:#fffbeb,stroke:#fcd34dDefinition of Done Checklist
Author
Reviewer
Acceptance
type/deprecationlabel & add to the deprecation scheduletype/experimentallabel & add to the experimental features tracker