Details
Description
When a connector is created, it may be restarted unnecessarily immediately after it is first started by the worker to which it has been assigned:
- Connector config is written to the config topic
- A worker reads the new record from the config topic, and adds the connector to its connectorConfigUpdates field (see here)
- Another worker has already seen the new connector config and triggered a rebalance; this worker participates in the ensuing rebalance (see here) and is assigned the connector
- After the rebalance is over (see here), the worker starts all of the connectors it has been newly-assigned (see here and here)
- Once finished with that, the worker checks for new connector configs (see here) and restarts all connectors in the connectorConfigUpdates field (see here).
Attachments
Issue Links
- links to