Topics and partitions
Topics, partitions, how a message's partition is chosen, ordering guarantees and topic configuration.
Producers
Sending messages one by one or in batches, flushing, and running several producers in one or several processes.
Consumers and groups
Consumer groups without a server, how partitions are shared between members, rebalancing, poll, and raw reads.
Offsets and commits
Offsets, the read limit, committed offsets per group, manual and automatic commit, and at-least-once delivery.
Durability
The three fsync policies, what each one survives, what they cost, and how to choose.
Retention
Limit how much disk a topic uses, by size and by age. By default Mojay keeps everything.
Multiple processes
What several processes can safely do with the same data folder, how crashes are handled, and where Mojay must not be used.
Errors
The variants of mojay::Error and the Node.js error codes, what they mean and what to do.