Kafka
  1. Kafka
  2. KAFKA-591

Add test cases to test log size retention and more

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
      None

      Description

      Add test cases to test the followings:

      1. Log Size Retention

      2. Replica Factor < no. of brokers in a cluster

      3. Multiple instances of Migration Tool

      4. Multiple instances of Mirror Maker

      5. Set "log.index.interval.bytes" to be slightly smaller than message size to force the indexing to be performed for each message

      1. kafka-591-v1.patch
        246 kB
        John Fung
      2. kafka-591-v2.patch
        278 kB
        John Fung

        Activity

        Hide
        John Fung added a comment -

        Uploaded kafka-591-v1.patch with the following changes:

        1. Added Log Size Retention (cases 4001 ~ 4008, 4011 ~ 4018)
        2. Replica Factor < no. of brokers in a cluster (cases 4011 ~ 4018)
        3. Multiple instances of Migration Tool (cases 9003 ~ 9006)
        4. Multiple instances of Mirror Maker (cases 5003 ~ 5006)
        5. Set "log.index.interval.bytes" to be slightly smaller than message size to force the indexing to be performed for each message (cases 0124 ~ 0127)

        Show
        John Fung added a comment - Uploaded kafka-591-v1.patch with the following changes: 1. Added Log Size Retention (cases 4001 ~ 4008, 4011 ~ 4018) 2. Replica Factor < no. of brokers in a cluster (cases 4011 ~ 4018) 3. Multiple instances of Migration Tool (cases 9003 ~ 9006) 4. Multiple instances of Mirror Maker (cases 5003 ~ 5006) 5. Set "log.index.interval.bytes" to be slightly smaller than message size to force the indexing to be performed for each message (cases 0124 ~ 0127)
        Hide
        John Fung added a comment -

        Uploaded kafka-591-v2.patch with the following changes:

        1. Merged log_retention_testsuite into replication_testsuite
        2. Fixed the approach to validate the message count by SimpleConsumerShell when the replication factor is less than no. of brokers

        Show
        John Fung added a comment - Uploaded kafka-591-v2.patch with the following changes: 1. Merged log_retention_testsuite into replication_testsuite 2. Fixed the approach to validate the message count by SimpleConsumerShell when the replication factor is less than no. of brokers
        Hide
        Jun Rao added a comment -

        Thanks for patch v2. +1 Committed to 0.8

        Show
        Jun Rao added a comment - Thanks for patch v2. +1 Committed to 0.8

          People

          • Assignee:
            John Fung
            Reporter:
            John Fung
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development