Skip to content

docs: move messaging, OTLP, Slack, and remaining field text into the specs - #4870

Merged
JakeSCahill merged 11 commits into
mainfrom
docs/descriptions-other
Oct 8, 2026
Merged

JakeSCahill merged 11 commits into
mainfrom
docs/descriptions-other

Conversation

@JakeSCahill

@JakeSCahill JakeSCahill commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

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

Why

The published reference for these components shows text from an overrides file in rp-connect-docs, not the descriptions in this repo, so --help and docs.redpanda.com disagree. #4863 makes the docs come straight from the specs. This PR brings the reviewed wording into the remaining specs (AMQP, NATS, OTLP, Slack, Git, Jira, SFTP, MQTT, Pulsar, Avro, Schema Registry, protobuf, gateway, and a few others) so retiring the overrides loses nothing.

Descriptions that were copied within a package now have one source. The AMQP 0.9 and AMQP 1 url and urls fields, NATS headers and subject text, the OTLP input encoding, rate_limit, and schema_registry fields and collector address text, and the Pulsar tls field are each defined once.

Fact corrections

Checked against the implementation:

  • gateway: the synchronous-response description was chained on the tcp listener field instead of sync_response, so it replaced the listener's own description. It now documents sync_response, which is advanced, as in http_server.
  • otlp_grpc and otlp_http inputs: when the rate limit is reached, the input waits for the rate limit resource. It doesn't return ResourceExhausted or a 429.
  • otlp_grpc and otlp_http outputs: the metadata key is otel_signal_type, not signal_type, and both protobuf and JSON input are accepted. Static bearer tokens go in headers; the outputs have no auth_token field.
  • slack input: the metadata key is type, not @type, and the interaction event type is interactive, not interactions.
  • nats_jetstream: durable applies to push and pull consumers, so it no longer says it configures a pull consumer.
  • jira input: introduced in 4.100.0, not 4.96.0.
  • amqp_0_9: the x-queue-type and x-overflow values were listed together; they're now separate rows. queue.declare and exchange_declare create the queue or exchange when it's missing, since the code calls QueueDeclare and ExchangeDeclare, not the passive variants.
  • ffi: the Linux example library is libc.so.6.

Otherwise it's wording only. Behavior, defaults, and field flags are unchanged except the gateway fix above. The build, tests, and lint pass for the touched packages. task docs passes with x_benthos_extra, so the ffi docs are covered.

Also in this PR (from a full review of the generated docs)

  • zmq4: the build text names the cgo release archive and the source build with libzmq. It used to tell readers to go install benthos and pointed at a Docker tag that no longer ships.
  • Cloud-safe examples: the azure_queue_storage and salesforce text no longer use or recommend env(), which Cloud rejects.
  • Facts ported from hand-written pages into the Go Summary and Description strings, so pages can include the generated text:
    • the seed_brokers text is now right on both platforms
    • the kafka sarama checkpoint_limit xref
    • the redpanda_migrator examples are now arrays
    • the cassandra host_selection_policy example
    • the redis and aws_dynamodb summaries are on one line
  • Removed: the unused :driver-support: matrix.

Comment thread internal/impl/slack/input.go Resolved
@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-other branch from 66de19b to 32227f8 Compare September 29, 2026 13:52
@JakeSCahill
JakeSCahill changed the base branch from docs/generate-antora-partials to docs/descriptions-ai September 29, 2026 13:52
Comment thread internal/impl/slack/input.go Resolved
@Leward
Leward added this pull request to stack #4884 September 29, 2026 14:56
@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-other branch from 32227f8 to 12da1d9 Compare September 30, 2026 11:57
@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-other branch from 12da1d9 to 723db37 Compare October 1, 2026 15:42
@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-other branch from 723db37 to 784f860 Compare October 5, 2026 12:10
@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-other branch 2 times, most recently from 1f18c14 to 51cae27 Compare October 5, 2026 16:12
Comment thread internal/impl/slack/input_users.go Resolved

@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

| Options: `+"`"+`classic`+"`"+` (default), `+"`"+`quorum`+"`"+`, and `+"`"+`stream`+"`"+`.

Is used to declare quorum and stream queues. Accepted values are: 'classic' (default), 'quorum', 'stream', 'drop-head', 'reject-publish' and 'reject-publish-dlx'.
| `+"`"+`x-max-length`+"`"+`

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.

The input cannot send the integer and boolean values that this table lists. arguments is a string map, and each value goes into the queue arguments as a Go string. amqp091-go v1.14.0 encodes a Go string as longstr.

RabbitMQ checks x-max-length, x-max-length-bytes, x-message-ttl, x-expires, x-consumer-timeout and x-stream-max-segment-size-bytes as integers, and check_int_arg rejects any type that is not an AMQP integer type. x-single-active-consumer must be a boolean. v3.8.0 has the same check. So the example x-max-length: 1000 fails the declare. Only x-queue-type, x-overflow and x-max-age work.

Also, since RabbitMQ v4.3.0, x-queue-version accepts only 2, not "1 or 2".

The bug is in the code, and it existed before this PR. But the new "Accepted values" column tells users to set values that the input cannot send. Suggestion: add a note that the input sends all values as strings, so only string arguments work, and open an issue for the code.

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.

Jira ticket raised on this: CON-593

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done in 754f038. The arguments description now has a note that the input sends every value as a string, names the integer and boolean arguments RabbitMQ rejects as strings, and says that only string arguments such as x-queue-type, x-overflow, and x-max-age work. The example now uses only string arguments, and x-queue-version says RabbitMQ 4.3.0 and later accept only 2. Thanks for raising CON-593 for the code.

Comment thread internal/impl/spicedb/watch_input.go Resolved
@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-other branch from fd661c3 to 2f7a05a Compare October 7, 2026 09:07
@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-other branch 2 times, most recently from 893ed1c to 754f038 Compare October 7, 2026 13:05
@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-other branch from 754f038 to c20a8b8 Compare October 7, 2026 14:44
@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-other branch from a6c9a6f to 60cb8ce Compare October 8, 2026 07:58
@Leward
Leward self-requested a review October 8, 2026 13:33
@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-other branch 4 times, most recently from bcfcc81 to 7f3140a Compare October 8, 2026 14:21
Base automatically changed from docs/descriptions-ai to main October 8, 2026 14:21
…specs

Bring in the reviewed wording from the rp-connect-docs overrides for the
remaining components, correct the facts that were wrong in either copy,
and give each description repeated within a package a single source.
Adds snapshot and streaming mode behavior to postgres_cdc, mysql_cdc and
mongodb_cdc, data type mappings to postgres_cdc and mysql_cdc, source
permissions, delivery, metrics and metadata to the redpanda_migrator
input, the redpanda_lag meaning to the shared redpanda input text, a
replacement pointer on redpanda_common, S3-compatible storage and
bucket/prefix guidance to aws_s3, and a Redis cache example to
spicedb_watch. Sets missing or wrong Version values on postgres_cdc,
mongodb_cdc, redpanda, redpanda_common, slack, slack_users,
spicedb_watch, salesforce_cdc, salesforce_graphql and tigerbeetle_cdc.
Add versions to slack_post, redpanda, redpanda_common, and
elasticsearch_v8. Correct the redpanda_migrator consumer group state
filter, topic sync schedule, and existing-topic guarantee, and list the
destination permissions. Add schema handling and metrics sections to
snowflake_streaming, S3-compatible storage to aws_s3, and a Parquet
example to gcp_bigquery. Point redpanda_common at the redpanda output
and fix the garbled amqp_0_9 output summary.
Add Metadata sections to the avro scanner and the slack, redpanda_migrator,
otlp_http and otlp_grpc inputs, checked against the code. Fix the
ollama_moderation summary, mention tools in cohere_chat and
openai_chat_completion, add the base_url hint to the jira processor, and
point the avro scanner and schema_registry_decode raw JSON links at fields
that render.
…ce, and nats text

From review: the slack_users scope is users:read; the spicedb example needs
TLS to reach Authzed; the amqp09 input sends every queue argument as a
string, so integer and boolean arguments fail; snowflake_streaming fails on a
missing NOT NULL column and ignores null-valued keys by default;
aws_cloudwatch_logs skips the downtime window with start_time: now;
salesforce all_or_none applies per 200-record request; and a missing space
broke an inline code span in the NATS auth docs.
Found reviewing the 4.112.0 docs regeneration (rp-connect-docs 533):

- postgres_cdc: replace em dashes, a double-hyphen aside, and spaced
  hyphens used as dashes, which Asciidoctor renders as em dashes;
  sentence-case the "Partitioned tables" label.
- oracledb_cdc: fix "databases's", drop "Whilst not exact", and untangle
  the nested parentheses in redo_volume_growth_max.
- iceberg: the copy-on-write estimate assumed each key lives in one
  file. Duplicate rows from insert can spread one key across many files,
  so describe the cost by the files that hold the keys' rows.
- postgres_cdc, tigerbeetle_cdc: link cache and rate limit resources with
  xrefs instead of hardcoded URLs (one pointed at www.docs.redpanda.com).
@JakeSCahill
JakeSCahill force-pushed the docs/descriptions-other branch from 7f3140a to 6d758f5 Compare October 8, 2026 14:22
@JakeSCahill
JakeSCahill merged commit f15e306 into main Oct 8, 2026
10 of 11 checks passed
@JakeSCahill
JakeSCahill deleted the docs/descriptions-other branch October 8, 2026 14:26
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