Notes on building back-end systems: what broke, and how it finally worked.
I'm Sukron Chafidhi, a software engineer who builds back-end systems with Java, Spring Boot, and microservices, and enjoys working with Go. Here I write down the things that took a while to figure out, with code examples.
Recent articles
- Simulating Log4Shell (CVE-2021-44228) with LDAP JNDI in Spring BootNov 2026Building a Log4Shell lab using Spring Boot, Log4j2, and a mock LDAP server to observe JNDI lookup, LDAP Reference Object, object resolution, and the difference between lookup, remote class loading, and remote code execution.
- Spring Consumers: @KafkaListener, Group, Offset Commit, RebalanceNov 2026The Spring consumer reads OrderCreated events with KafkaListener and stores them in memory so it can be tested via REST. The reader proves that two instances in one group split the partitions, that offsets only advance after acknowledge, and that pausing raises the lag, which is delivered again on resume.
- Spring MVC Producers: KafkaTemplate, Keys, and JSONNov 2026KafkaTemplate sends OrderCreated events as JSON to a Kafka topic via a Spring MVC endpoint, using customerId as the key. The reader proves that the same key always lands in the same partition, then sees a trusted packages error on the consumer side and fixes it.
- Delivery Guarantees: acks, Idempotence, At-least-once vs Exactly-onceOct 2026Kafka delivery guarantees are demonstrated through the built-in CLI on a local broker, with no project needed. Readers see how acks and idempotence affect the producer, why a consumer that reads without committing reads the same messages again, and how to reprocess data via offset reset.
- Kafka Architecture: Topic, Partition, Offset, Consumer GroupOct 2026Topic, partition, offset, and consumer group are demonstrated directly through Kafka's built-in CLI on a local broker, without a project. Readers see for themselves how keys determine partitions, how offsets are stored per group, and how partitions are distributed among group members.