Kafka શક્તિશાળી છે પણ સામાન્ય ખામીઓ છે — પার્ટીશનીંગ, ક્રમ, કન્ઝ્યુમર વર્તણૂક, ડિલિવરી સેમેન્ટિક્સ અને ઓપરેશન્સ વિશે ગેરસમજણીઓ અને ભૂલો. આ સમજવાથી સમસ્યાઓ ટાળવામાં અને Kafka ને યોગ્ય રીતે ઉપયોગ કરવામાં મદદ મળે છે.
ડિઝાઇન અને પાર્ટીશનીંગ ખામીઓ
✗ Too FEW partitions → limits consumer parallelism (can't scale consumption beyond
partition count); too MANY → overhead, rebalancing pain → plan partition count carefully
✗ Wrong PARTITION KEY → uneven distribution (hot partitions) or wrong ordering scope →
choose a key for even distribution AND the ordering you need
✗ Expecting GLOBAL ordering → Kafka only orders WITHIN a partition (a common misunderstanding)
✗ Adding partitions changes key→partition mapping → breaks ordering for keys (be careful)
