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

Improve logging on potential loop forwaring in Kafka Connect REST

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0, 2.0.1, 2.1.0, 2.2.0, 2.1.1, 2.3.0, 2.2.1
    • Fix Version/s: None
    • Component/s: KafkaConnect
    • Labels:
      None

      Description

      Kafka Connect workers in the distributed mode can be set up so that they have the same advertised URL (e.g. http://127.0.0.1:8083). When a request (e.g., for connector creation) lands on a worker that is not the leader, it will be forwarded to the leader's advertised URL. However, if advertised URLs are all the same, it might never reach the leader (due to the limited number of forwards). (See https://issues.apache.org/jira/browse/KAFKA-7121 for an example.)

      I propose to address this by detecting such a situation and warning the user on the log.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ivanyu Ivan Yurchenko
                Reporter:
                ivanyu Ivan Yurchenko
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: