Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4092

retention.bytes should not be allowed to be less than segment.bytes

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • log
    • None

    Description

      Right now retention.bytes can be as small as the user wants but it doesn't really get acted on for the active segment if retention.bytes is smaller than segment.bytes. We shouldn't allow retention.bytes to be less than segment.bytes and validate that at startup.

      Note that a PR for this was merged in 0.10.2.0, but reverted in the 0.10.2 branch (what will become 0.10.2.1) and trunk (see KAFKA-4788 for details). This is still worth doing, but the implementation needs to be a bit different: we should warn in TopicConfigHandler and we could potentially warn in KafkaConfig.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cotedm Dustin Cote
            cotedm Dustin Cote
            Ewen Cheslack-Postava Ewen Cheslack-Postava

            Dates

              Created:
              Updated:

              Slack

                Issue deployment