Skip to content

Align the guides with the source code - #22

Merged
dirkjink merged 1 commit into
mainfrom
docs/guides-follow-source
Sep 7, 2026
Merged

Align the guides with the source code#22
dirkjink merged 1 commit into
mainfrom
docs/guides-follow-source

Conversation

@dirkjink

@dirkjink dirkjink commented Sep 7, 2026

Copy link
Copy Markdown
Member

Summary

The source is authoritative; every claim in the operator-facing guides was checked against the current classes and the drift fixed.

  • Configuration guide — section 13 in the TOC; the complete producer-property composition (conditional acks default, mandatory layer, max.block.ms cap, idempotence validation) in §4 and A.4; fixed key source and unreadable-MDC behavior in §6; throttle gap fixed in code; every fallback diversion reason, fallback ownership and the no-SLF4J-logging rule in §7; the ordered stop() sequence with all budgets, the ~18 s worst case and the no-restart rule (ADR-0004) in §8; bound-state binding decision, rebind semantics and the Logback reconfiguration gap in §9; corrected events.dispatched / fallback.dropped semantics; sendQueueCapacity, mapping and idempotence checks plus cap and worker-death warnings in §10; send-dispatcher row with drain, grace and shared budget plus two new "code" rows; A.2 flow shows the send dispatcher.
  • README — required-element wording, all fallback triggers, BlockHound note for the send workers, fallback.dropped causes, a working non-Spring binding sample, truthful build section.
  • Metrics overview — accepted/dropped/send.error/shutdown semantics, appender tag on the Kafka bridge, alert wording.
  • Example XML, benchmarks/README, CONTRIBUTING — parser whitespace rule and fallback triggers; benchmark inventory (historical header benchmark, sender-path guard, results folders); DocumentationContractTest note.
  • KafkaAppender.addAppender KDoc — no longer promises a restart (ADR-0004).

Test plan

  • mvn -o verify (DocumentationContractTest guards the guide tables and the metrics inventory; ktlint)
  • mvn -o dokka:dokka (failOnWarning)
  • Guide anchors checked against headings
  • Docs workflow (mkdocs build --strict) on CI

🤖 Generated with Claude Code

https://claude.ai/code/session_015GfdGp7eUrjJKBvcJUx3q2

The source is authoritative; every claim in the operator guides was
checked against the current classes and the drift fixed:

- Configuration guide: TOC entry for section 13; the full property
  composition (conditional acks default, mandatory layer, max.block.ms
  cap, idempotence validation) in §4 and Appendix A.4; fixed key source
  and unreadable-MDC behavior in §6; the throttle gap is fixed in code;
  every fallback diversion reason, fallback ownership and the
  no-SLF4J-logging rule in §7; the ordered stop() sequence with all
  budgets, the ~18 s worst case and the no-restart rule (ADR-0004) in
  §8; bound-state binding decision, rebind semantics and the Logback
  reconfiguration gap in §9; corrected events.dispatched and
  fallback.dropped semantics; sendQueueCapacity, mapping and idempotence
  checks plus the cap warning and runtime worker-death warnings in §10;
  the send-dispatcher row now states drain, grace and shared budget, and
  two new "code" rows (key length, max.block.ms cap); the A.2 flow shows
  the send dispatcher step.
- README: required-element wording, all fallback triggers, BlockHound
  note reflects the send workers, fallback.dropped causes, a working
  non-Spring binding sample with rebind semantics, and a truthful build
  section (JDK 24+, quality gates via CONTRIBUTING).
- Metrics overview: accepted/dropped/send.error/shutdown semantics,
  appender tag on the Kafka bridge, alert wording.
- Example XML: parser whitespace rule, fallback triggers, why no
  AsyncAppender.
- benchmarks/README: RecordHeadersBenchmark is historical evidence,
  SenderPathBenchmark doubles as the scalar-replaceability guard, all
  results folders named.
- CONTRIBUTING: DocumentationContractTest pins the tables.
- KafkaAppender.addAppender KDoc no longer promises a restart.

mvn -o verify (DocumentationContractTest, ktlint) and dokka:dokka pass.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015GfdGp7eUrjJKBvcJUx3q2
@dirkjink
dirkjink merged commit 65993e6 into main Sep 7, 2026
6 checks passed
@dirkjink
dirkjink deleted the docs/guides-follow-source branch September 7, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant