~/talk

Getting Real with NodeJS and Kafka: An Event Stream Tale

Talkat JSNation Conference 2022 · 2022-06-16..06-20· [nodejs, microservices]

Concrete config and code using KafkaJS with NodeJS: shows how to get exactly-once semantics inside Kafka (not in external databases) by setting producer acks=all, transactional.id, sending offsets in the transaction, disabling auto commit on consumers and limiting max in-flight requests to one to preserve ordering. Covers using a dead-letter queue and manual offset commits to avoid poison messages and explains that the cluster needs at least 3 partitions and 2 in-sync replicas; includes a docker-compose multi-node setup to reproduce and test the behavior.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.