<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Muhammad Taufik Akbar on Medium]]></title>
        <description><![CDATA[Stories by Muhammad Taufik Akbar on Medium]]></description>
        <link>https://medium.com/@taufikacbar?source=rss-2ecc4c3083b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*WJU00i6G_xw1fG0b</url>
            <title>Stories by Muhammad Taufik Akbar on Medium</title>
            <link>https://medium.com/@taufikacbar?source=rss-2ecc4c3083b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 19:18:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@taufikacbar/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How Our Shipping Notice MCP Project Won Two Awards at Zalando’s Hackweek]]></title>
            <link>https://medium.com/@taufikacbar/how-our-shipping-notice-mcp-project-won-two-awards-at-zalandos-hackweek-6bb3103c6071?source=rss-2ecc4c3083b------2</link>
            <guid isPermaLink="false">https://medium.com/p/6bb3103c6071</guid>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[spring]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Muhammad Taufik Akbar]]></dc:creator>
            <pubDate>Sat, 21 Mar 2026 00:38:18 GMT</pubDate>
            <atom:updated>2026-03-21T00:44:08.182Z</atom:updated>
            <content:encoded><![CDATA[<p>And What I Learned About AI, Teamwork, and Just Showing Up</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-Y0dIFx_HNzhjHEW4ke7BQ.jpeg" /></figure><p>About two months ago, I finally decided to participate in our department-level hackweek at Zalando. I say “finally” because honestly, I’d been hesitant for a while. It took me some time to write about it, but the experience stuck with me enough that I figured it was still worth sharing.</p><p>I work in the Inbound Shipment &amp; Transportation team. In simple terms, we manage the services that help our suppliers ship and deliver their goods/articles from their warehouses into Zalando’s warehouses, products that eventually end up on the Zalando platform. It’s a complex domain with a lot of moving parts: shipping notices, delivery tracking, transport management, and multiple data sources stitched together.</p><p>The hackweek idea came from my lead. He proposed leveraging the Model Context Protocol (MCP), a relatively new standard for connecting AI models with external tools and data so that people could simply <em>talk</em> to an AI and ask questions about shipping notice data. No more writing complex database queries. Just plain English.</p><h4><strong>“Am I Too Far Behind for This?”</strong></h4><p>I’ll be honest. My first reaction was a mix of skepticism and excitement. Skepticism because I knew I was quite late catching up with the whole AI wave. I felt outdated, like everyone else had already figured this stuff out and I was still standing at the starting line. The idea of jumping into an AI project felt intimidating.</p><p>But I was also excited. Because if we could actually make this work? It would look really cool and genuinely make a difference for the business.</p><p>I’m grateful that my lead encouraged me to participate. Sometimes you just need someone to say, “Hey, join in, you’ll be fine.” That push made all the difference.</p><h4><strong>What We Built</strong></h4><p>We built an MCP server using Spring Boot and Spring AI that acts as a bridge between large language models (like Claude or Gemini) and our shipment and logistics systems.</p><p>The architecture connected three different data sources:</p><ul><li>A PostgreSQL database for core shipping notice data</li><li>A Trino/Starburst data lake for historical shipping notice changes</li><li>Another PostgreSQL database for our transport management system</li></ul><p>On top of that, we built a REST client that calls our internal Shipping Notice API. Allowing the AI agent to perform some actions on the shipping notices, not just query them.</p><p>The end result: instead of writing SQL or navigating internal dashboards, a user could ask something like “Show me all shipping notices from last week that have delivery delays” and get an answer in seconds. Or, “I need to deliver a shipment to Frankfurt next week” and it will prepare and create a new shipment for you.</p><h4>The Demo</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*egbQGWr2-Om5FkvVvyJ_cw.jpeg" /></figure><p>During the demo, I had the chance to present a few parts in front of all the engineers in our department, about 30 people. Standing up there showing something we’d built in just a few days, was a genuinely great feeling. Especially because this was my first hackweek.</p><p>And then we won. Two categories.</p><p>🏆 <strong>The People’s Choice</strong>, voted by everyone who attended the presentations. 🏆 <strong>The Grand Architect (Best Overall Execution)</strong>, which was the main award.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cXXYtfi2EBuaYGjlhGXJgA.jpeg" /></figure><p>I didn’t expect it. We’d put in the work. The project was solid but winning both felt like a surprise. A very welcome one.</p><h4>What I Learned</h4><p>This hackweek taught me more than I expected. Here are a few things that stuck with me.</p><p>Designing tools for an AI agent is a balancing act. Finding the right balance between specificity and generality is crucial when defining MCP tools. Too specific and the AI can’t adapt. Too general and it doesn’t know what to do. Getting this right took more iteration than I anticipated.</p><p>Data lake performance is a real constraint. The Trino/Starburst data lake was significantly slower than our PostgreSQL databases. For interactive AI conversations where users expect near-instant responses, this was a real bottleneck. It’s something we’d need to address for any production use case.</p><p>LLMs are surprisingly good at reasoning. A pleasant surprise was watching the LLM proactively suggest clarifications when something was ambiguous. In the “submission of shipping notice” use case, when required fields were missing or unclear, the AI would ask follow-up questions to resolve submission issues on its own (based on the error response from the API). It felt almost like pair-programming with a very patient colleague.</p><p>Output format matters more than you’d think. The size and format of a tool’s response significantly influence overall performance and usability. Return too much data and the LLM struggles to process it. Return it in the wrong structure and the answers become unreliable. Subtle, but important.</p><h4>Final Thoughts</h4><p>If there’s one thing I’d tell someone who’s been sitting on the sidelines like I was: just participate. I almost didn’t, because I felt like I was too far behind on AI. But hackweeks aren’t about being an expert. They’re about learning, building, and having fun with your team.</p><p>I walked away with a much better understanding of MCP, Spring AI, and how LLMs can interact with real-world systems. More importantly, I walked away knowing that I can keep up. I just needed to start.</p><p>Thanks to my amazing team for making this happen, and to Zalando for organizing such an inspiring hackweek.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6bb3103c6071" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dead Letter Queues: The Key to Keep Your System Reliable]]></title>
            <link>https://blog.devops.dev/dead-letter-queues-the-key-to-reliable-system-d254d30d916d?source=rss-2ecc4c3083b------2</link>
            <guid isPermaLink="false">https://medium.com/p/d254d30d916d</guid>
            <category><![CDATA[kafka]]></category>
            <category><![CDATA[microservice-architecture]]></category>
            <category><![CDATA[message-queue]]></category>
            <category><![CDATA[rabbitmq]]></category>
            <category><![CDATA[distributed-systems]]></category>
            <dc:creator><![CDATA[Muhammad Taufik Akbar]]></dc:creator>
            <pubDate>Fri, 14 Mar 2025 00:01:33 GMT</pubDate>
            <atom:updated>2025-03-19T16:55:58.717Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*4AOn9Aw6oAs4Y6GyWOEwlQ.jpeg" /><figcaption>Source: <a href="https://www.cmu.edu/tepper/news/stories/2021/october/parcel-delivery-capstone.html">https://www.cmu.edu/tepper/news/stories/2021/october/parcel-delivery-capstone.html</a></figcaption></figure><h3>Introduction</h3><p>Have you ever sent a package that never reached its destination? Maybe the address was wrong, or the recipient refused it. In distributed systems, messages also need a reliable delivery system. But what happens when a message can’t be processed (for whatever reason)? That’s where a <strong>Dead Letter Queue (DLQ)</strong> comes in.</p><p>This article will explain DLQs in simple terms, when to use them (and when not to), different types of DLQs, and the implementation with example in Kotlin<strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ycQbOiwKriDSJWiWd8MXnw.jpeg" /><figcaption>Source: <a href="https://commons.wikimedia.org/wiki/File:Lost_and_Found_Box_%286947296049%29.jpg">https://commons.wikimedia.org/wiki/File:Lost_and_Found_Box_%286947296049%29.jpg</a></figcaption></figure><h3>What is a Dead Letter Queue?</h3><p>A <strong>Dead Letter Queue (DLQ)</strong> is like a lost-and-found box for messages that fail to be processed. It catches messages that couldn’t be delivered or handled correctly.</p><p>Imagine a messaging system like <strong>Kafka</strong> or <strong>RabbitMQ</strong> where producers send messages and consumers process them. If a message is faulty (for example, it has incorrect data that causes an error when being processed), instead of getting lost or causing the system to crash, it moves to a DLQ for later analysis.</p><h4>Why do messages fail?</h4><ul><li><strong>Incorrect format</strong>: The message has missing or invalid data.</li><li><strong>Processing errors: </strong>The consumer application crashes when handling the message.</li><li><strong>Exceeding retry limits: </strong>The system tries multiple times but fails.</li><li><strong>Expired messages: </strong>The message wasn’t processed within the allowed time.</li></ul><h3>When to Use a DLQ (and When Not to)</h3><h4>✅ When to use a DLQ:</h4><ul><li><strong>Prevent data loss</strong>: Instead of discarding failed messages, store them for later debugging.</li><li><strong>Analyze errors</strong>: Understand why certain messages fail and improve the system.</li><li><strong>Retry later</strong>: Some errors (e.g., temporary database issues) can be fixed and retried later.</li><li><strong>Avoid blocking the system</strong>: Prevent one bad message from stopping the entire queue.</li></ul><h4>❌ When NOT to use a DLQ:</h4><ul><li><strong>For business logic retries</strong>: If a failure is expected (e.g., waiting for an external service), handle retries separately.</li><li><strong>For every single error</strong>: Not all failures need to be stored. A high volume of failing messages could overwhelm the DLQ.</li><li><strong>As a long-term storage</strong>: DLQs should be a temporary holding place, not a database replacement.</li></ul><h3>Types of DLQs</h3><p>Different messaging systems handle DLQs differently:</p><p>1️⃣ RabbitMQ DLQs (Built-in Support). RabbitMQ supports DLQs natively using dead-letter exchanges (DLX), automatically redirecting failed messages to a designated queue.</p><p><strong>Example: Implementing a RabbitMQ DLQ in Kotlin (Spring Boot)</strong></p><pre>@Configuration<br>class RabbitMQConfig {<br>    companion object {<br>        const val MAIN_QUEUE = &quot;main.queue&quot;<br>        const val DLQ = &quot;dead.letter.queue&quot;<br>    }<br><br>    @Bean<br>    fun mainQueue(): Queue {<br>        return QueueBuilder.durable(MAIN_QUEUE)<br>            .deadLetterExchange(&quot;&quot;)<br>            .deadLetterRoutingKey(DLQ)<br>            .build()<br>    }<br><br>    @Bean<br>    fun deadLetterQueue(): Queue {<br>        return QueueBuilder.durable(DLQ).build()<br>    }<br>}</pre><p><strong>RabbitMQ Consumer Handling with DLQ</strong></p><pre>@Component<br>@Slf4j<br>class RabbitMQConsumer(@Autowired private val rabbitTemplate: RabbitTemplate) {<br><br>    @RabbitListener(queues = [RabbitMQConfig.MAIN_QUEUE])<br>    fun consumeMessage(message: String) {<br>        try {<br>            processMessage(message)<br>            log.info(&quot;Processed message: {}&quot;, message)<br>        } catch (e: Exception) {<br>            log.error(&quot;Message failed, sending to DLQ: {}&quot;, message, e)<br>            rabbitTemplate.convertAndSend(RabbitMQConfig.DLQ, message)<br>        }<br>    }<br><br>    private fun processMessage(message: String) {<br>        if (message.contains(&quot;error&quot;)) throw Exception(&quot;Processing failed&quot;)<br>        log.info(&quot;Message has been processed!&quot;)<br>    }<br>}</pre><p>2️⃣ Kafka DLQs (Manual Setup). Unlike RabbitMQ, Kafka does not have a built-in DLQ. Instead, we create a separate topic (e.g., dead-letter-topic) and publish failed messages there for later debugging or retry.</p><p><strong>Example: Implementing a Kafka DLQ in Kotlin (Spring Boot)</strong></p><pre>@Configuration<br>class KafkaConfig {<br>    companion object {<br>        const val MAIN_TOPIC = &quot;main-topic&quot;<br>        const val DLQ_TOPIC = &quot;dead-letter-topic&quot;<br>    }<br><br>    @Bean<br>    fun mainTopic(): NewTopic {<br>        return TopicBuilder.name(MAIN_TOPIC).partitions(3).replicas(1).build()<br>    }<br><br>    @Bean<br>    fun deadLetterTopic(): NewTopic {<br>        return TopicBuilder.name(DLQ_TOPIC).partitions(3).replicas(1).build()<br>    }<br>}</pre><p><strong>Kafka Consumer Handling with DLQ</strong></p><pre>@Component<br>@Slf4j<br>class KafkaConsumer(@Autowired private val kafkaTemplate: KafkaTemplate&lt;String, String&gt;) {<br><br>    @KafkaListener(topics = [KafkaConfig.MAIN_TOPIC], groupId = &quot;group_id&quot;)<br>    fun consumeMessage(message: String) {<br>        try {<br>            processMessage(message)<br>            log.info(&quot;Processed message: {}&quot;, message)<br>        } catch (e: Exception) {<br>            log.info(&quot;Message failed, sending to DLQ: {}&quot;, message)<br>            kafkaTemplate.send(KafkaConfig.DLQ_TOPIC, message)<br>        }<br>    }<br><br>    private fun processMessage(message: String) {<br>        if (message.contains(&quot;error&quot;)) throw Exception(&quot;Processing failed&quot;)<br>        log.info(&quot;Message has been processed!&quot;)<br>    }<br>}</pre><h3>Conclusion</h3><p>A Dead Letter Queue (DLQ) is an essential mechanism for handling failed messages gracefully. We explored different implementations using RabbitMQ or Kafka in Kotlin (Spring Boot), including handling failed messages and redirecting them to a DLQ.</p><p>By implementing a DLQ, we ensure fault tolerance, error analysis, and system reliability. Would you use a DLQ in your system? Let me know your thoughts</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d254d30d916d" width="1" height="1" alt=""><hr><p><a href="https://blog.devops.dev/dead-letter-queues-the-key-to-reliable-system-d254d30d916d">Dead Letter Queues: The Key to Keep Your System Reliable</a> was originally published in <a href="https://blog.devops.dev/">DevOps.dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>