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

potential socket leak in new producer and clean up

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.2.0
    • Fix Version/s: 0.8.2.0
    • Component/s: core
    • Labels:
      None

      Description

      Address the delta review comments from kafka-1227.

      20. Selector and Sender: need to close socket channel on IOException in addition to UnresolvedHostnameException.
      21. AbstractConfig:
      21.1 To be consistent, we probably should change the return value of the following api from Long to long.
      public Long getLong(String key)
      21.1 Could we also add getDouble(String key)?
      22. Metadata.fetch(): The wait time is incorrect when there is an InterruptedException.
      23. Add comments on BufferPool.allocate() and Struct.instanceOf() for clarification.
      24. Various other minor fixes for mis-spelling.

        Attachments

        1. KAFKA-1307.patch
          14 kB
          Jun Rao
        2. KAFKA-1307_2014-03-18_09:53:00.patch
          47 kB
          Jun Rao
        3. KAFKA-1307_2014-03-18_10:03:01.patch
          12 kB
          Jun Rao

          Activity

            People

            • Assignee:
              junrao Jun Rao
              Reporter:
              junrao Jun Rao
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: