Skip to content

Commit

Permalink
Time synch note (#875)
Browse files Browse the repository at this point in the history
Co-authored-by: Paulo Borges <[email protected]>
  • Loading branch information
Feediver1 and Deflaimun authored Dec 3, 2024
1 parent 59aabf4 commit b5c5af7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/develop/pages/produce-data/configure-producers.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ in one place, while also enabling features like schema evolution.

Redpanda employs a unique strategy to help ensure the accuracy of retention operations. In this strategy, closed segments are only eligible for deletion when the age of all messages in the segment exceeds a configured threshold. However, when a producer sends a message to a topic, the timestamp set by the producer may not accurately reflect the time the message reaches the broker. To address this time skew, each time a producer sends a message to a topic, Redpanda records the broker's system date and time in the `broker_timestamp` property of the message. This property helps maintain accurate retention policies, even when the message's creation timestamp deviates from the broker's time.

NOTE: Clock synchronization should be monitored by the server owner, as Redpanda does not monitor clock synchronization. While Redpanda does not rely on clocks for correctness, if you are using `LogAppendTime` (server timestamp set by Redpanda), server clocks may affect the time your application sees.

ifndef::env-cloud[]
See also:

Expand Down

0 comments on commit b5c5af7

Please sign in to comment.