GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — KAFKA-21444 Document acks=1 record loss during planned leader transit… · coderbruis/kafka@c9c8838

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • docs/operations
    • basic-kafka-operations.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎docs/operations/basic-kafka-operations.md‎

Copy file name to clipboardExpand all lines: docs/operations/basic-kafka-operations.md
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ controlled.shutdown.enable=true
113113

114114
Note that controlled shutdown will only succeed if _all_ the partitions hosted on the broker have replicas (i.e. the replication factor is greater than 1 _and_ at least one of these replicas is alive). This is generally what you want since shutting down the last replica would make that topic partition unavailable.
115115

116+
Even when controlled shutdown succeeds, records produced with `acks=1` may be lost if the leader acknowledged them but had not yet replicated them to the new leader. The same applies to other planned leadership changes, such as preferred leader election and partition reassignment that removes the current leader. Producers that need these records to survive leadership changes should use `acks=all`.
117+
116118
## Balancing leadership
117119

118120
Whenever a broker stops or crashes, leadership for that broker's partitions transfers to other replicas. When the broker is restarted it will only be a follower for all its partitions, meaning it will not be used for client reads and writes.

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.