Blog
Production error deep-dives — root cause, reproduction, and the fix that holds.
Kafka InconsistentGroupProtocolException: Cause and Fix
Kafka InconsistentGroupProtocolException: the group member's supported protocols are incompatible. Why it hits mid-upgrade and how to fix the assignor mismatch.
Educative.io Review in 2026: Is It Worth It for Developers?
Thinking about Educative.io? Here's the honest verdict: outstanding for interview prep and system design, not ideal for beginners. Full review with pricing, comparisons, and FAQ.
Kafka InvalidTxnStateException: Causes and How to Fix It
InvalidTxnStateException means your producer called a transactional API in the wrong state. Here's the state machine, the exact triggers, and the fix.
How to Use LocalDate, LocalDateTime, ZonedDateTime in Java
Build a ticket SLA tracker in Java 21 that parses, adds and prints times across DST changes with LocalDate, LocalDateTime and ZonedDateTime.
How to Use ProcessBuilder to Run Commands in Java 21
How to use ProcessBuilder in Java 21: run a command, read stdout and stderr, feed stdin, set a timeout and kill a stuck child, with 14 checks and 5 traps.
Kafka: Assignments Can Only Be Reset If the Group Is Inactive
Kafka's reset-offsets fails with 'Assignments can only be reset if the group is inactive, but the current state is Stable.' Here's why, and the fix.
Kafka InvalidTopicException: Why It Happens and How to Fix It
Kafka InvalidTopicException — 'Topic name is illegal' from bad characters, 249-char limits, or '.'/'_' collisions. The exact rules, root cause, and the fix.
Kafka NotEnoughReplicasException: Fix NOT_ENOUGH_REPLICAS Errors
Kafka NotEnoughReplicasException: messages rejected since there are fewer in-sync replicas than required. Fix min.insync.replicas vs acks=all, fast.
How to Create an Immutable Class in Java (Java 21)
Build an immutable Recipe class in Java 21: final class, final fields, defensive copies and with-ers, plus the leaks a final field alone lets through.
How to Implement the State Machine Pattern in Java
Build a parcel-tracking state machine in Java 21 with enums and a transition table, add a guard for failed deliveries, and prove the rules with 19 checks.