Skip to content

Commit 7d10fc9

Browse files
authored
chore(docs): Clarify bytes framing for streams (#17745)
I'm not aware of any sources that separate "steam segments" so I updated the language a bit to account for how the `tcp` mode of the `socket` source handles `bytes` framing. Reference: #17136 Signed-off-by: Jesse Szwedko <[email protected]> Signed-off-by: Jesse Szwedko <[email protected]>
1 parent 7a0dec1 commit 7d10fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/cue/reference/components/sources.cue

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ components: sources: [Name=string]: {
9494
type: string: {
9595
default: features.codecs.default_framing
9696
enum: {
97-
bytes: "Byte frames are passed through as-is according to the underlying I/O boundaries (e.g. split between messages or stream segments)."
97+
bytes: "Byte frames are passed through as-is according to the underlying I/O boundaries (e.g. split between messages, payloads, or streams)."
9898
character_delimited: "Byte frames which are delimited by a chosen character."
9999
length_delimited: "Byte frames which are prefixed by an unsigned big-endian 32-bit integer indicating the length."
100100
newline_delimited: "Byte frames which are delimited by a newline character."

0 commit comments

Comments
 (0)