Skip to content

Conversation

@alexakreizinger
Copy link
Member

@alexakreizinger alexakreizinger commented Jan 15, 2026

233

bear with me, it's a big one. this PR tries to consolidate redundant info by breaking up the "buffering and storage" doc into the existing "buffering" and "backpressure" docs.

in the process I had to rewrite both docs more or less from scratch, although there were a few sections I included pretty much verbatim, and some of my rewrites could still use some work. that'll have to be in a future PR though because after staring at these for two days straight I think I've reached my mem_buf_limit 🤯

I also spun out the dead letter queue info into its own doc since it didn't seem to quite fit in either buffering or backpressure. that one's also a copy/paste job (see above about limits).

Summary by CodeRabbit

  • Documentation
    • Reorganized buffering content and navigation, splitting previous buffering/storage material into separate Buffering, Backpressure, and Dead Letter Queue (DLQ) docs.
    • Added a full DLQ guide with configuration examples, storage behavior, and troubleshooting.
    • Expanded buffering docs with chunk semantics, memory-only and filesystem-hybrid modes, per-input/output controls, and end-to-end examples.
    • Updated storage/service and memory-management guidance to align with the new structure.

✏️ Tip: You can customize this high-level summary in your review settings.

@alexakreizinger alexakreizinger requested review from a team as code owners January 15, 2026 03:50
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 15, 2026

📝 Walkthrough

Walkthrough

Split and reorganized the former "Buffering and Storage" doc into focused pages: pipeline/buffering.md, administration/backpressure.md, and a new administration/dead-letter-queue.md; updated redirects, TOC, and cross-references accordingly.

Changes

Cohort / File(s) Summary
Gitbook / Navigation
.gitbook.yaml, SUMMARY.md
Updated redirects and TOC: added redirect administration/buffering-and-storage → ./pipeline/buffering.md; replaced TOC entry with administration/dead-letter-queue.md
Buffering core
pipeline/buffering.md, administration/buffering-and-storage.md
Added pipeline/buffering.md (chunks, modes, examples); removed monolithic administration/buffering-and-storage.md
Backpressure
administration/backpressure.md
Rewrote backpressure guidance with mode-specific behavior, mem_buf_limit semantics, lifecycle and pause/resume details
Dead Letter Queue (DLQ)
administration/dead-letter-queue.md
New DLQ doc: enablement, triggers, storage paths/naming, on-disk format, examples, metrics and troubleshooting
Service / Storage refs
administration/configuring-fluent-bit/yaml/service-section.md, administration/memory-management.md
Clarified storage.* table entries; added hint to Backpressure for mem_buf_limit and expanded memory explanation
Inputs & README links
pipeline/inputs/tail.md, README.md
Updated buffering links to point to pipeline/buffering.md and administration/backpressure.md instead of removed doc
Scheduling & Troubleshooting refs
administration/scheduling-and-retries.md, administration/troubleshooting.md
Updated DLQ references to point to new administration/dead-letter-queue.md and minor formatting fixes

Sequence Diagram(s)

(Skipped — documentation reorganization does not introduce multi-component control-flow changes requiring a sequence diagram.)

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested labels

4.2

Suggested reviewers

  • esmerel
  • cosmo0920

Poem

🐰
I hopped through docs, I split and pruned,
Chunks found homes and links were tuned,
Backpressure learned to stop and sway,
DLQ keeps strays from going astray—
A tiny hop for docs well groomed.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: consolidating backpressure and buffering documentation into separate, focused documents.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 8

🤖 Fix all issues with AI agents
In `@administration/backpressure.md`:
- Line 63: The link text in administration/backpressure.md is misspelled: change
the bracketed link label "[serivce section]" to "[service section]" so the
markdown link to
../administration/configuring-fluent-bit/yaml/service-section.md resolves
correctly; update only the label text in the link while keeping the target path
unchanged.
- Line 16: The link in the sentence uses an invalid double-hash anchor
"../pipeline/buffering.md#buffering-modes#filesystem-buffering"; replace it with
a single valid anchor (e.g., "../pipeline/buffering.md#filesystem-buffering") so
the Markdown link points to the correct section; update the anchor string in the
file to remove the extra "#" and ensure it matches the target heading slug in
pipeline/buffering.md.
- Line 59: Fix the Markdown link on the line that currently reads "[filesystem
buffering](../pipeline/buffering.md#buffering-modes#memory-only-buffering)" by
removing the duplicated '#' and pointing it to the filesystem buffering anchor
so link text matches target (for example replace with "[filesystem
buffering](../pipeline/buffering.md#buffering-modes-filesystem-buffering)" or
the correct "#filesystem-buffering" anchor used in that file).
- Line 13: Replace the broken double-hash anchor links in the documentation:
change occurrences of "#buffering-modes#memory-only-buffering" to
"#memory-only-buffering", change "#buffering-modes#filesystem-buffering" to
"#filesystem-buffering-hybrid", and update the second occurrence of
"#buffering-modes#memory-only-buffering" (in the filesystem buffering section)
to "#filesystem-buffering-hybrid" so all anchor targets point to the correct
headings.

In `@administration/configuring-fluent-bit/yaml/service-section.md`:
- Line 40: The Markdown link for Monitoring in the `storage.metrics` description
is using a relative path that won't resolve from the
administration/configuring-fluent-bit/yaml/ directory; update the
`[Monitoring](monitoring.md)` link to use the correct two-level-up relative path
(`../../monitoring.md`) so the link resolves to the `monitoring.md` file in the
administration directory, modifying the line that contains `storage.metrics` /
the `[Monitoring]` link.

In `@administration/dead-letter-queue.md`:
- Line 5: Update the two relative links that currently use a double slash prefix
(e.g.,
".//configuring-fluent-bit/yaml/service-section.md#storage-configuration") to
use a single slash ("/configuring-fluent-bit/...") so they resolve correctly;
specifically edit the link targets surrounding the `storage.path` and
`storage.keep.rejected` references in the dead-letter-queue text to remove the
extra slash.

In `@pipeline/buffering.md`:
- Around line 82-83: Change the wording in the `storage.path` description to use
the singular "service" (replace "services" with "service") to match Fluent Bit
terminology, and correct the unit-size link reference by adjusting the relative
path from `../../administration/configuring-fluent-bit.md#unit-sizes` to
`../administration/configuring-fluent-bit.md#unit-sizes` so the `mem_buf_limit`
unit-size link resolves correctly; update the table cell that mentions
`storage.path` and the `mem_buf_limit` link accordingly.
- Line 141: The markdown link for `storage.total_limit_size` uses the wrong
relative path (`../../administration/configuring-fluent-bit.md`); update that
link to `../administration/configuring-fluent-bit.md` in the table row
containing `storage.total_limit_size` so it correctly points to the
administration doc from this file's location.
📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 77d150b and 14a3cee.

📒 Files selected for processing (9)
  • .gitbook.yaml
  • SUMMARY.md
  • administration/backpressure.md
  • administration/buffering-and-storage.md
  • administration/configuring-fluent-bit/yaml/service-section.md
  • administration/dead-letter-queue.md
  • administration/memory-management.md
  • pipeline/buffering.md
  • pipeline/inputs/tail.md
💤 Files with no reviewable changes (1)
  • administration/buffering-and-storage.md
🧰 Additional context used
🪛 LanguageTool
administration/backpressure.md

[grammar] ~63-~63: Ensure spelling is correct
Context: ...g.mem_limit in global settings In the [serivce` section](../administration/configuring-...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

administration/dead-letter-queue.md

[style] ~43-~43: Consider using a different verb for a more formal wording.
Context: ...play or transform rejected chunks after fixing the underlying issue. - Debugging: ...

(FIX_RESOLVE)

🔇 Additional comments (11)
.gitbook.yaml (1)

106-106: LGTM!

The redirect correctly maps the old administration/buffering-and-storage path to the new ./pipeline/buffering.md location, ensuring existing links and bookmarks continue to work after the documentation restructure.

administration/dead-letter-queue.md (1)

1-89: Well-structured DLQ documentation.

The document provides comprehensive coverage of the dead letter queue feature including failure scenarios, file location/format, troubleshooting guidance, and configuration examples in both YAML and CONF formats.

administration/configuring-fluent-bit/yaml/service-section.md (1)

34-47: LGTM on storage configuration updates.

The expanded storage key descriptions are clear and comprehensive. The cross-references to the new Buffering, Backpressure, and Scheduling documentation align well with the PR's restructuring goals.

pipeline/buffering.md (1)

29-63: Well-documented buffering concepts.

The new Chunks section clearly explains the up/down chunk terminology and state transitions. The Buffering modes section effectively communicates the trade-offs between memory-only and filesystem buffering approaches.

pipeline/inputs/tail.md (1)

79-79: LGTM!

The cross-references are correctly updated to point to the new modular documentation structure, linking to both the Buffering guide and the Backpressure guide instead of the old combined document.

SUMMARY.md (1)

59-59: Navigation update looks good.

The Table of Contents correctly reflects the new documentation structure, with Dead Letter Queue now as a standalone topic under Administration.

administration/memory-management.md (2)

11-11: Good technical clarification.

The expanded explanation about internal binary representation and output plugin memory usage provides valuable context for memory estimation, with concrete examples.


15-17: Excellent cross-reference addition.

The info hint provides helpful navigation to related Backpressure documentation, improving discoverability for readers learning about Mem_Buf_Limit.

administration/backpressure.md (3)

5-10: Clear introduction to backpressure concepts.

The introduction effectively explains the backpressure condition and appropriately references the buffering documentation, setting up the mode-specific guidance that follows.


27-56: Detailed behavior explanation is helpful.

The step-by-step example clearly illustrates what happens when mem_buf_limit capacity is reached, including the pause/resume mechanism. This will help users understand backpressure management.


69-83: Comprehensive coverage of filesystem buffering settings.

The explanations of storage.pause_on_chunks_overlimit and storage.total_limit_size are clear and provide valuable guidance on managing backpressure with filesystem buffering.

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.

Signed-off-by: Alexa Kreizinger <[email protected]>
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@administration/dead-letter-queue.md`:
- Line 60: Conf-format examples use the wrong casing for the logging key;
replace any lowercase or inconsistent occurrences of "log_level" with the Fluent
Bit-style conf key "Log_Level" in all INI/conf examples (e.g., wherever
"log_level: info" or "log_Level" appears) so conf blocks consistently use
"Log_Level" with the correct capitalization and spacing for classic/INI-style
config.
♻️ Duplicate comments (2)
pipeline/buffering.md (2)

94-94: Verify log_level casing consistency between YAML and conf formats.

Similar to the issue in dead-letter-queue.md, the YAML example uses log_level (line 94) while the conf example uses log_Level with a capital L (line 116). Confirm whether this casing difference between configuration formats is intentional or if it should be standardized to match the service section documentation.

Also applies to: 116-116


7-7: Add alt text to image for accessibility.

The <img> tag is missing the alt attribute, which is required for accessibility. Screen readers and other assistive technologies rely on alt text to convey the image's purpose to users.

♿ Proposed fix
-<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=cde12327-09ed-409c-ac02-7c0afa5eff51" />
+<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=cde12327-09ed-409c-ac02-7c0afa5eff51" alt="" />

Note: An empty alt="" attribute is appropriate for tracking pixels that don't convey meaningful content.

📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 14a3cee and 1fade4e.

📒 Files selected for processing (4)
  • administration/backpressure.md
  • administration/configuring-fluent-bit/yaml/service-section.md
  • administration/dead-letter-queue.md
  • pipeline/buffering.md
🧰 Additional context used
🪛 LanguageTool
administration/dead-letter-queue.md

[style] ~43-~43: Consider using a different verb for a more formal wording.
Context: ...play or transform rejected chunks after fixing the underlying issue. - Debugging: ...

(FIX_RESOLVE)

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.

@eschabell eschabell self-assigned this Jan 16, 2026
@eschabell eschabell added waiting-on-review Waiting on a review from mainteners 4.2.3 labels Jan 16, 2026
@eschabell eschabell requested a review from esmerel January 16, 2026 08:50
@eschabell
Copy link
Collaborator

@esmerel want to take a look?

Signed-off-by: Alexa Kreizinger <[email protected]>
@alexakreizinger alexakreizinger merged commit 9a66016 into master Jan 16, 2026
8 checks passed
@alexakreizinger alexakreizinger deleted the alexakreizinger/sc-153843/consolidate-info-from-buffering-backpressure branch January 16, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.2.3 waiting-on-review Waiting on a review from mainteners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants