Kafka Flashcards

1
Q

Kafka Broker

A

Computer/instance running Kafka process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Kafka Topics

A
  • Durable logs of events
  • Append only
  • Can only seek by offset (no index)
  • Immutable
  • Written to disk
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Kafka Schema Registry

A
  • Database for topic schemas
  • JSON, AVRO, Protobuff
  • Schema will be cached in producer/consumer to reduce latency
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Kafka Connect

A
  • Pluggable connectors that run outside of a cluster
  • Source connectors = producer
  • Sink connectors = consumer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly