search

Home  >  Q&A  >  body text

java - Kafka: If the message retention policy is set to 2 days, then a message can be consumed within two days of being published. It will then be discarded to free up space.

Does this sentence mean that the message is discarded after two days to free up space, or does it mean that the message is consumed and the space is released?

为情所困为情所困2756 days ago725

reply all(1)I'll reply

  • 某草草

    某草草2017-05-17 10:07:57

    "After" refers to after consumption, not two days later.

    reply
    0
  • Cancelreply