Repository navigation
docs: port page facts into the drop, broker, benchmark, json_array, command, and http_client specs - #517
Conversation
…ommand, and http_client specs Facts that only the hand-written Redpanda Connect pages carried, each checked against the code: what drop does and when to use it, what the broker output is, the benchmark log line format, how json_array streams an array and fails without a leading bracket, the release json_array shipped in, and a better http_client streaming example. Also fix the command processor's metadata sentence, which said input, and a missing space in the logger metrics description.
|
Commits Review
|
…rays The scanner reads arrays one after another, and it first shipped in 4.57.0.
|
Commits
Review
LGTM |
… its messages accurately Spec versions are Redpanda Connect releases: the scanner first shipped in Connect 4.65.0, which pinned benthos 4.57.0. Each element is stored as raw JSON, not as a structured value, so say the message contains the element JSON.
|
Commits
Review LGTM |
|
Commits
Review LGTM |
Why
The Redpanda Connect component pages are now generated from these specs. For a few benthos components, the hand-written pages carried facts that the specs didn't, so switching the pages to the generated text would have lost them.
What changes
Each fact below was checked against the code:
drop: what it does, that it acknowledges and discards each message, and when to use it.broker: what the broker output is, howpatternworks, and that the name refers to the brokering pattern, not a Redpanda broker.benchmark: the log line format, and what changes whencount_bytesisfalse.json_array:[command: the metadata sentence said "input"; it now says "processor".http_client: a better streaming example than Twitter.Tests pass for the touched packages. Lint reports only the four existing issues in
processor_workflow_test.go.