Skip to content

docs: move kafka, redpanda, and ockam field text into the specs - #4866

Merged
JakeSCahill merged 3 commits into
mainfrom
docs/descriptions-kafka
Oct 8, 2026
Merged

JakeSCahill merged 3 commits into
mainfrom
docs/descriptions-kafka

Conversation

@JakeSCahill

@JakeSCahill JakeSCahill commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Stacked on #4863. Review that first; this PR's diff is against its branch.

Why

Today the published reference for these components doesn't show the descriptions in this repo. The docs team rewrote them in an overrides file in rp-connect-docs, so users read one text on docs.redpanda.com and another in --help, and neither side sees the other's fixes. #4863 makes the docs come straight from the specs. This PR brings the reviewed wording into the specs for the Kafka, Redpanda, migrator, tracer, and Ockam components, so retiring the overrides loses nothing.

Many of these fields were also defined more than once. The ordered and unordered franz readers, the Sarama input and output, the ockam input and output, and the redpanda and redpanda_common inputs each carried their own copy of the same description, and the copies had drifted. Each repeated description now has one source, a package constant or a small field helper, so a fix lands everywhere at once.

Fact corrections

These were wrong in the code, the overrides, or both, and were checked against the implementation:

  • redpanda_migrator provenance_header holds the source cluster ID, not the seed brokers.
  • ockam seed_brokers: only the first list item (up to its first comma) is used, and only as the Kafka Outlet's bootstrap server when route_to_kafka_outlet is self.
  • redpanda_data_transform timestamp is in milliseconds. Its example used timestamp_unix(), which produced a 1970 timestamp.
  • redpanda and redpanda_common inputs: both descriptions now list all three batch-tuning fields. Each copy had dropped some.
  • topic_lag_refresh_period describes lag as end offsets minus committed offsets instead of asking "the Redpanda Connect server".
  • seed_brokers no longer claims brokers are tried in order.
  • schema_registry output normalize gains its Version("4.61.0"), the release it first shipped in.

Everything else is wording. Behavior, defaults, and field flags are unchanged. go test passes for the touched packages, and task docs passes.

Comment thread internal/impl/ockam/fields.go Resolved
@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-kafka branch from f13b011 to ba50da1 Compare October 1, 2026 15:42
@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-kafka branch from ba50da1 to f926d85 Compare October 5, 2026 12:10
@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-kafka branch from f926d85 to 7fca39e Compare October 5, 2026 14:43
@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-kafka branch from 15a101b to f09372a Compare October 6, 2026 15:25
@Leward
Leward self-requested a review October 6, 2026 19:30

@Leward Leward left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See inline comments

Comment thread internal/impl/kafka/franz_client.go Resolved
Comment thread internal/impl/kafka/input_redpanda.go Resolved
Comment thread internal/impl/kafka/franz_reader.go Resolved
Comment thread internal/impl/kafka/franz_reader.go Resolved
Comment thread internal/impl/kafka/franz_reader.go Resolved
Comment thread internal/impl/kafka/franz_client.go Resolved
@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-kafka branch 2 times, most recently from 5fae670 to fb6aeba Compare October 7, 2026 09:26
@JakeSCahill

Copy link
Copy Markdown
Contributor Author

@Leward 4866 is rebased onto the updated 4863, so the review fixes I linked as 5fae670 are now fb6aeba.

@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-kafka branch 2 times, most recently from 6967430 to 47212b6 Compare October 7, 2026 14:44
@Leward
Leward self-requested a review October 7, 2026 16:16
@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-kafka branch from 47212b6 to 6faa96a Compare October 8, 2026 07:58
Base automatically changed from docs/generate-antora-partials to main October 8, 2026 14:19
Bring in the reviewed wording from the rp-connect-docs overrides for the
Kafka, Redpanda, migrator, tracer, and Ockam components, correcting the
facts that were wrong in either copy, and give each repeated
description a single source (package constants and small field
helpers) so the copies can't drift apart again.
…go and the code

From review: rebalance_timeout counts the detection time, heartbeat_interval's
one-third is a recommendation, instance_id applies on close and must be unique
per consumer, conn_idle_timeout can reach twice its value, lag only refreshes
with a consumer group, exact offset translation applies to Empty groups and is
on by default, and the redpanda input's ordering note covers unordered
processing. remove_metadata and remove_rule_set get their 4.61.0 version.
@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-kafka branch from 6faa96a to e5eda8f Compare October 8, 2026 14:19
@JakeSCahill
JakeSCahill merged commit ba0a182 into main Oct 8, 2026
10 checks passed
@JakeSCahill
JakeSCahill deleted the docs/descriptions-kafka branch October 8, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants