Pale Blue Dot
Pale Blue Dot

Reputation: 581

Kafka Producer vs Kafka Connector

I need to push data from database(say Oracle DB) to a kafka topic by calling a stored procedure.I need to do some validations too on message

Should i use a Producer API or Kafka Connector.

Upvotes: 0

Views: 1217

Answers (1)

Robin Moffatt
Robin Moffatt

Reputation: 32060

You should use Kafka Connect. Either that, or use the producer API and write some code that handles:

  • Scale-out
  • Failover
  • Restarts
  • Schemas
  • Serialisation
  • Transformations

and that integrates with hundreds of other technologies in a standardised manner for ease of portability and management.

At which point, you'll have reinvented Kafka Connect ;-)

To learn more about Kafka Connect see this talk. To learn about the specifics of database->Kafka ingestion see this talk and this blog.

Upvotes: 3

Related Questions