liveBook · Manning

Source connector

A source connector is a Kafka Connect connector that reads data from an external source system and publishes records to Kafka.

How 3 Manning books explain it

Kafka Streams in Action, Second Edition

SourceConnector is the Kafka Connect connector type used to configure tasks that import records from an external system into Kafka.

How it is used
Imports external records into Kafka topics through configurable Kafka Connect plugins.
How deep it goes
Explains connector configuration, task generation, task partitioning, and polling, while deferring parts of the complete implementation.
Examples
Uses stock ticker API ingestion, JDBC PostgreSQL configuration, and masked retail sales transactions.
What you can do after
Build it from scratch by extending SourceConnector, defining configuration, and generating task configurations for external-source ingestion.

Read how Kafka Streams in Action, Second Edition explains source connector →

Kafka for Architects

A source connector is a Kafka Connect connector that reads data from an external source system and writes it to Kafka.

How it is used
Moves external-system data into Kafka topics through configured integration rather than a custom producer.
How deep it goes
Explains polling, task parallelism, source offsets, converters, and deployment through a worked JDBC configuration.
Examples
Uses customer address replication, reference tables, and a JDBC transaction-table configuration with an incrementing ID.
What you can do after
Operate/configure it by installing a plugin, setting source and progress parameters, and deploying a connector through the REST API.

Read how Kafka for Architects explains source connector →

Apache Kafka in Action

A source connector is a Kafka Connect connector that reads data from an external source system and publishes it to Kafka.

How it is used
Moves records from databases, files, or other external systems into Kafka through Kafka Connect.
How deep it goes
Defines the data flow and connector configuration, then addresses partitioning and task limits without detailing connector implementation internals.
Examples
Uses FileStreamSourceConnector, JDBC source connectors, database tables, sequential identifiers, and Debezium’s PostgresConnector.
What you can do after
Operate/configure ingestion through connector classes, task limits, and Kafka Connect’s management interfaces.

Read how Apache Kafka in Action explains source connector →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.