How would you describe the role of a Kafka Connector?
Instruction: Explain what Kafka Connect is and its primary purpose within a data pipeline.
Updated
Official answer
Kafka Connect is the worker framework; a connector is a plugin configured to integrate a particular external system. A source connector brings external data into Kafka, while a sink connector sends Kafka records to a destination.
The connector creates task configurations, and tasks perform the data transfer. Distributed workers assign and run those tasks and coordinate configuration/status/progress. The tasks.max setting is a maximum, not a promise that every connector can use that much parallelism. Source-system constraints, connector design and sink input partitions may limit useful tasks.
For example, a CDC source connector may publish database changes, and a search sink may build an index from those events. Check how that specific plugin handles initial snapshots, subsequent changes, deletes, schema changes, failures and restart positions. Installing Connect alone does not provide all those semantics.
Converters define the Kafka record representation; lightweight transformations can adjust individual records. Stateful joins and aggregates usually belong in a stream-processing application. Protect connector credentials, internal topics and the management API, and control which plugins/configurations are allowed.
Monitor task health, transfer rate, completion age, errors and reconciliation. Test destination outages and replay. Delivery guarantees depend on the connector and external system as well as worker settings; a framework-level exactly-once capability does not establish every connector's end-to-end behavior.
Connect overview, tasks, transformations and delivery support