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

Fix incorrect comment in MetadataUpdater

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.0.0
    • None
    • clients
    • None

    Description

      The comment for 'handleDisconnection' says it can return true or false, but the return type is void.

      /**
           * If `request` is a metadata request, handles it and return `true`. Otherwise, returns `false`.
           *
           * This provides a mechanism for the `MetadataUpdater` implementation to use the NetworkClient instance for its own
           * requests with special handling for disconnections of such requests.
           * @param destination
           */
          void handleDisconnection(String destination);
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              liaoguangxian guangxian.liao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: