Repository navigation
docs: move messaging, OTLP, Slack, and remaining field text into the specs - #4870
Conversation
66de19b to
32227f8
Compare
32227f8 to
12da1d9
Compare
12da1d9 to
723db37
Compare
723db37 to
784f860
Compare
1f18c14 to
51cae27
Compare
51cae27 to
fd661c3
Compare
| | 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`+"`"+` |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
fd661c3 to
2f7a05a
Compare
893ed1c to
754f038
Compare
754f038 to
c20a8b8
Compare
a6c9a6f to
60cb8ce
Compare
bcfcc81 to
7f3140a
Compare
…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.
…he summary exceptions
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).
7f3140a to
6d758f5
Compare
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
--helpand 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
urlandurlsfields, NATSheadersand subject text, the OTLP inputencoding,rate_limit, andschema_registryfields and collector address text, and the Pulsartlsfield are each defined once.Fact corrections
Checked against the implementation:
gateway: the synchronous-response description was chained on thetcplistener field instead ofsync_response, so it replaced the listener's own description. It now documentssync_response, which is advanced, as inhttp_server.otlp_grpcandotlp_httpinputs: when the rate limit is reached, the input waits for the rate limit resource. It doesn't returnResourceExhaustedor a 429.otlp_grpcandotlp_httpoutputs: the metadata key isotel_signal_type, notsignal_type, and both protobuf and JSON input are accepted. Static bearer tokens go inheaders; the outputs have noauth_tokenfield.slackinput: the metadata key istype, not@type, and the interaction event type isinteractive, notinteractions.nats_jetstream:durableapplies to push and pull consumers, so it no longer says it configures a pull consumer.jirainput: introduced in 4.100.0, not 4.96.0.amqp_0_9: thex-queue-typeandx-overflowvalues were listed together; they're now separate rows.queue.declareandexchange_declarecreate the queue or exchange when it's missing, since the code callsQueueDeclareandExchangeDeclare, not the passive variants.ffi: the Linux example library islibc.so.6.Otherwise it's wording only. Behavior, defaults, and field flags are unchanged except the
gatewayfix above. The build, tests, and lint pass for the touched packages.task docspasses withx_benthos_extra, so theffidocs are covered.Also in this PR (from a full review of the generated docs)
go installbenthos and pointed at a Docker tag that no longer ships.env(), which Cloud rejects.:driver-support:matrix.