2026.11.19 — 2026-11-15
Breaking
Declare the values a topic preview may not have (ad85901e)
A create preview has no current partition count yet, and a preview of a delete carries neither the requested partitions nor the replication factor. The published contract said all four were plain integers, so a real broker's answer broke it; the web client already typed them as nullable.
The record now says so, and the snapshot and the generated schema are regenerated from it.
Fixed
Declare the values a topic preview may not have (ad85901e)
A create preview has no current partition count yet, and a preview of a delete carries neither the requested partitions nor the replication factor. The published contract said all four were plain integers, so a real broker's answer broke it; the web client already typed them as nullable.
The record now says so, and the snapshot and the generated schema are regenerated from it.
Create the topic a preview confirms (a7dd609e)
Creating a topic was refused with "kafka.topic/<name> does not exist". The create was sent under the preview's etag as an ifMatch precondition, and the driver enforces one by reading the topic it guards — which, for a create, is the topic that does not exist yet. The read failed before anything was written, and the API answered with the driver's 404.
A create now runs without a precondition. Its preview etag is the constant "this name is absent", so it guarded nothing; the re-preview under the caller's etag, in the same call, is what refuses a stale confirmation, and it still runs.
KafkaTopicCreateRealBrokerTest previews and creates a topic against a real broker and reads it back. The existing tests replace the driver, so they could not see this; only the real one can.
Security
Require settings:read for the actuator's metrics (cf83f512)
/actuator/prometheus and /actuator/metrics answered without authentication, and their series are tagged with every cluster's id and every destination's name. A caller the scope walk limits to one queue could read the name and the traffic of every other one, which is the map a later injection or denial of service needs.
Both now take the installation-wide settings:read permission. Health and the liveness and readiness probes stay public so an orchestrator needs no credential, refresh keeps settings:write, and any other actuator path is denied. A scraper authenticates with an API token holding settings:read; the observability guide carries the scrape block.
Anyone who scraped Rahdar anonymously must now configure that credential. ADR-0228 records why the endpoints stay on the application port rather than moving to a management port.
Refuse a notification destination that resolves internally (00d14bdc)
A channel's destination is operator input and the server fetches it, so the test button answered questions about the network the process runs in: a 405 meant an open service, a connection error a closed port. Validation checked the scheme and that a host was named, and nothing about the address.
DestinationPolicy now accepts only https, with a host, no user information, and no address that is any-local, loopback, link-local, site-local or unique-local, multicast, or in the carrier-grade NAT range. It is checked when a channel is saved, when it is tested, and before every delivery, so a channel stored before the rule is refused rather than used; a refused delivery is recorded dead with the reason. A name that does not resolve is left to the connection, so an outage during a delivery stays a retryable failure.
Email is unchanged: an on-premise installation sends through its own relay, which is internal by design. ADR-0227 records the decision, the rejected alternatives and the rebinding window it leaves open.
A channel pointed at a private address stops delivering, with the reason in its delivery log, until it is repointed.