Details
-
Improvement
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
2.0.0, 2.0.1, 2.1.0, 2.2.0, 2.1.1, 2.3.0, 2.2.1
-
None
-
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
- links to