Semana 16: Kafka
Source System
Target System
data
Source System
Target System
data
data
Source System
Target System
Source System
Target System
Source System
Target System
data
data
data
If you have 4 source systems, and 4 target systems, you need to write 16 integrations.
If you have 4 source systems, and 4 target systems, you need to write 16 integrations.
Problem:
Protocol - How the data is transported (TCP, HTTP, REST, FTP, JDBC, etc)
Data format - How the data is parsed (Binary, CSV, JSON, Avro, etc)
Data Schema & Evolution - How to data is shaped and may change
Connections - Each source system will have an increased load from the connections
If you have 4 source systems, and 4 target systems, you need to write 16 integrations.
Source System
Target System
Source System
Target System
Source System
Target System
Source System
Target System
broker
Website
events
Database
Stock
data
Analytics
Financial Transactions
Email System
User
interactions
Audit
broker
Use cases: Messaging System, Activity tracking, Gather metrics from many different locations, Application Logs gathering, etc
"Pub/Sub messasing is a pattern that is characterized by the sender (publisher) of a piece of data (message) not specifically directing it to a receiver.
The publisher classifies the message, and the receiver (subscriber) subscribes to receive certain classes of messages"
Source System
Target Systems
Producers
Consumers
Broker 101
Broker 102
Broker 103
Kafka Cluster
Source System
Target Systems
Producers
Consumers
Broker 101
Broker 101
Broker 101
Kafka Cluster
Topics:
- Partitions
- Replications