Kafka Flashcards
1
Q
Kafka Broker
A
Computer/instance running Kafka process
2
Q
Kafka Topics
A
- Durable logs of events
- Append only
- Can only seek by offset (no index)
- Immutable
- Written to disk
3
Q
Kafka Replication
A
- Copes of data are put on other brokers/partitions for fault tolerance
- This is one LEAD partition and N-1 followers
4
Q
Kafka Schema Registry
A
- Database for topic schemas
- JSON, AVRO, Protobuff
- Schema will be cached in producer/consumer to reduce latency
5
Q
Kafka Partitions
A
- If key is null, messages written round robin
- Add partition key for order (ex. give customer id so all events go to same partition in order)
6
Q
Kafka Connect
A
- Pluggable connectors that run outside of a cluster
- Source connectors = producer
- Sink connectors = consumer