message.timestamp.after.max.ms — Kafka topic Configuration
This configuration sets the allowable timestamp difference between the message timestamp and the broker's timestamp. The message timestamp can be later than or equal to the broker's timestamp, with the maximum allowable difference determined by the value set in this configuration.
Description
This configuration sets the allowable timestamp difference between the message timestamp and the broker's timestamp. The message timestamp can be later than or equal to the broker's timestamp, with the maximum allowable difference determined by the value set in this configuration. If message.timestamp.type=CreateTime, the message will be rejected if the difference in timestamps exceeds this specified threshold. This configuration is ignored if message.timestamp.type=LogAppendTime.
Default Values by Kafka Version
| Kafka Version | Default Value |
|---|---|
| 3.6 | 9223372036854775807 |
| 3.7 | 9223372036854775807 |
| 3.8 | 9223372036854775807 |
| 3.9 | 9223372036854775807 |
| 4.0 | 3600000 (1 hour) |
| 4.1 | 3600000 (1 hour) |
| 4.2 | 3600000 (1 hour) |