Cheatsheet Kafka
// Structured learning part for Cheatsheet Kafka covering Status Seri.
This overview is designed to help you choose the right entry point quickly. Follow the full track from lesson one, continue from your last checkpoint, or jump straight into a phase that matches what you need right now.
Curriculum Map
Navigate by phase, then choose the lesson that matches your current depth.
Kafka Foundation
17 minMental model awal Apache Kafka sebagai distributed commit log, event streaming platform, message broker-like system, dan integration backbone.
Event-Driven Architecture Mental Model
18 minFondasi berpikir event, command, choreography, orchestration, saga, compensation, dan eventual consistency.
Kafka Architecture Mental Model
24 minBroker, topic, partition, offset, replication, ISR, retention, compaction, KRaft, metadata, dan failure model Kafka.
Topic Design and Event Taxonomy
23 minTopic naming, ownership, granularity, domain topic, integration topic, command topic, retry topic, DLQ topic, compact topic, event catalog, dan lifecycle governance.
Partitioning and Ordering
25 minPartition key, partition count, ordering guarantee, hot partition, skew, repartitioning risk, null key behavior, sticky partitioner, dan trade-off ordering vs parallelism.
Producer Fundamentals
22 minProducer lifecycle, ProducerRecord, key/value/header/timestamp, serializer, partitioner, batching, linger, compression, acknowledgement, retry, timeout, idempotent producer, transactional producer, callback, sync/async send, error handling, dan producer metrics.
Producer Correctness in Java/JAX-RS Services
22 minHTTP request to event flow, service layer boundary, database transaction boundary, outbox publishing, event metadata, retry safety, duplicate event risk, dan producer PR review untuk Java/JAX-RS enterprise systems.
Consumer Fundamentals
20 minConsumer lifecycle, consumer group, poll loop, offset, offset commit, auto/manual commit, partition assignment, rebalance, heartbeat, pause/resume, shutdown, fetch tuning, dan consumer metrics.
Consumer Correctness and Idempotency
20 minAt-least-once consumer, duplicate message, idempotent processing, inbox pattern, processed event table, offset commit safety, crash scenarios, retry safety, dan idempotent state transition.
Delivery Semantics
23 minAt-most-once, at-least-once, exactly-once dalam konteks Kafka, effectively-once di level aplikasi, producer acknowledgement, idempotent producer, transactional producer, consumer offset transaction, database transaction mismatch, duplicate handling, missing event handling, dan replay safety.
Retry, DLQ, and Poison Event Handling
21 minTransient failure, permanent failure, poison event, retry topic, delayed retry, retry budget, DLQ, parking lot topic, replay, monitoring, dan production runbook.
Event Schema and Serialization
22 minSerialization, deserialization, JSON, Avro, Protobuf, JSON Schema, Schema Registry, subject naming, compatibility mode, schema evolution, dan serialization failure.
Event Contract Governance
18 minEvent sebagai public contract: ownership, lifecycle, versioning, deprecation, breaking change control, contract testing, AsyncAPI, schema linting, compatibility matrix, registry, dan review governance.
Event Metadata and Traceability
17 minEvent ID, aggregate ID, correlation ID, causation ID, trace context, tenant, actor, source service, event type/version/time, schema version, partition key, command ID, idempotency key, headers vs payload, standardisasi metadata, auditability, dan traceability checklist.
Outbox Pattern
19 minTransactional outbox untuk menghindari dual-write problem antara PostgreSQL/MyBatis/JDBC dan Kafka dalam Java/JAX-RS enterprise services.
Inbox Pattern
18 minInbox pattern untuk consumer Kafka yang idempotent, replay-safe, dan aman terhadap duplicate event, crash, retry, poison event, serta transaction boundary PostgreSQL/MyBatis/JDBC.
CDC and Debezium
21 minChange Data Capture dengan PostgreSQL, logical decoding, WAL, replication slot, Debezium connector, snapshot, Outbox Event Router, tombstone, connector lag, dan production failure mode.
Kafka Connect
21 minKafka Connect mental model untuk source/sink connector, worker, distributed mode, task, converter, SMT, internal topics, offset/config/status storage, error tolerance, DLQ, scaling, upgrade, dan runbook production.
Kafka Streams Foundation
23 minKafka Streams mental model untuk KStream, KTable, GlobalKTable, topology, Processor API, DSL, state store, changelog topic, repartition topic, internal topic, task, stream thread, application ID, consumer group relation, exactly-once processing, dan perbandingan dengan plain consumer.
Kafka Streams Operations
22 minOperasi Kafka Streams production untuk stateless/stateful transformation, aggregation, join, windowing, grace period, suppression, late event, event time, processing time, state store restoration, RocksDB, standby replica, rebalance impact, scaling, topology upgrade, state migration, dan production checklist.
ksqlDB
17 minksqlDB stream/table model, persistent query, pull/push query, materialized view, joins, aggregation, schema integration, scaling, and operational risk for enterprise Kafka systems.
Event-Driven CPQ and Order Management Context
20 minHow Kafka and event-driven architecture map to CPQ, quote management, order management, fulfillment, fallout, cancellation, amendment, audit, state transition, and enterprise business invariants.
Saga, Choreography, and Orchestration
17 minSaga pattern, choreography, orchestration, command/reply topic, compensation, timeout, stuck saga, dan observability untuk Kafka-based enterprise Java/JAX-RS systems.
Eventual Consistency and Read Models
17 minEventual consistency, stale read, projection, CQRS, materialized view, cache invalidation, projection lag, UX impact, API contract, consistency SLA, dan reconciliation untuk Kafka-based enterprise Java systems.
Reconciliation and Replay
18 minReconciliation job, replay, backfill, reprocessing, offset reset, projection rebuild, data repair, audit trail, dan replay runbook untuk Kafka-based enterprise Java/JAX-RS systems.
Kafka Security
18 minTLS, mTLS, SASL, SCRAM, Kerberos, OAuth/OIDC, principal, ACL, topic/group permission, Schema Registry security, Kafka Connect security, secret rotation, dan production security review untuk Kafka-based enterprise Java/JAX-RS systems.
Kafka Networking
18 minListener, advertised listener, bootstrap server, DNS, Kubernetes service, load balancer, NAT, firewall, security group, network policy, TLS hostname verification, cross-zone/cross-region traffic, dan troubleshooting connectivity Kafka untuk enterprise Java/JAX-RS systems.