Kafka
  1. Kafka
  2. KAFKA-481

Require values in Utils.getTopic* methods to be positive

    Details

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

      Description

      KafkaConfig can currently accept negative values for topic specific properties, need to prevent this.

      1. kafka-481-0.8.patch
        4 kB
        Swapnil Ghike
      2. kafka-481.patch
        5 kB
        Swapnil Ghike

        Activity

        Hide
        Jun Rao added a comment -

        Thanks for the patch. Committed to both trunk and 0.8.

        Show
        Jun Rao added a comment - Thanks for the patch. Committed to both trunk and 0.8.
        Hide
        Swapnil Ghike added a comment -

        Attached the patch for 0.8.

        Show
        Swapnil Ghike added a comment - Attached the patch for 0.8.
        Hide
        Swapnil Ghike added a comment -

        Inserted require() checks.

        Show
        Swapnil Ghike added a comment - Inserted require() checks.

          People

          • Assignee:
            Swapnil Ghike
            Reporter:
            Swapnil Ghike
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 24h
              24h
              Remaining:
              Remaining Estimate - 24h
              24h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development