Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
import * as kafkasaur from "https://deno.land/x/kafkasaur@v0.0.7/src/producer/partitioners/default/partitioner.ts";

Variables

The default partitioning strategy:

  • If a partition is specified in the message, use it
  • If no partition is specified but a key is present choose a partition based on a hash of the key
  • If no partition or key is present choose a partition in a round-robin fashion