Tuning Kafka for your goal: throughput, latency, durability, availability
No configuration maxes out all four goals: rank throughput, latency, durability and availability first (a financial system differs from an ingestion pipeline), then pick producer, consumer, topic and broker values; plus Spring Boot 3, the auto-commit trap, CooperativeSticky, partition counts and a 3-broker KRaft docker compose lab.