Log

All posts

Splitting events by type breaks the only ordering you had
Three ways to lay out domain events across Kafka topics. One of them looks like the tidy option and quietly costs you the ability to rebuild state at all.
How a cat can quack
Duck typing says: if it quacks, it's a duck. Type classes say something stranger and more useful — it is not a duck, it never was, and you taught it to quack anyway.
Harnessing the power of Avro and the Schema Registry
Why Avro is worth the extra moving parts on Kafka, what the five bytes in front of every message are for, and how the serializer and the schema registry keep incompatible data off your topics.
Docker maven plugin
Making the Maven build produce a Docker image as its artifact instead of a jar, and what that changes about delivery.
Round-Robin Iterable
A small Iterable implementation for round-robin traversal over a collection of collections.
Pimping JSoup
Extending JSoup for smoother HTML scraping and manipulation in Java.
GWT RPC Best Practices
Lessons learned structuring RPC services in Google Web Toolkit applications.
REST method override filter
A servlet filter to work around clients that can only send GET/POST by overriding the HTTP method.