Activity
Mon
Wed
Fri
Sun
Nov
Dec
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
What is this?
Less
More
Amigoscode
2.1k
Free
28 contributions to Amigoscode
🚨🚨 Spring Boot developers I need your opinion on a production problem
🚨 **Spring Boot developers — I need your opinion on a production problem** I’m working on a Spring Boot application with **JPA + PostgreSQL + Kafka**, and I’ve hit a problem that took me way deeper than I expected. Imagine this: ```java @Transactional public void createOrder(Order order) { orderRepository.save(order); applicationEventPublisher.publishEvent( new OrderCreatedEvent(order.getId()) ); } ``` The event listener then publishes the event to Kafka: ```java @Async @TransactionalEventListener( phase = TransactionPhase.AFTER_COMMIT ) public void handle(OrderCreatedEvent event) { kafkaTemplate.send("orders", event.orderId()); } ``` At first glance, everything looks fine. But here's the problem: Sometimes the Kafka event **isn't published**, even though the order was successfully created. And if the application crashes at the wrong moment, we can end up with: Database ✅ GOOD Kafka ❌ NO Now I'm wondering: Would you use **Transactional Outbox** here? Is there another Spring-native approach you'd prefer? How would you guarantee that the database state and Kafka event don't get out of sync? I'm specifically interested in how you'd solve this in a **real production system**, not just theoretically.
0 likes • 2h
Thank you so much, @Dominic Mwaituka, so helpful that all what I needed
Nov '25 • 
Backend
Docker error
I was trying to run the docker-compose file from the spring boot for beginners course on intellij and I can't run it. I already installed the plug in you mentioned. Here is the error message that appeared. I'm not sure where I went wrong.
Docker error
0 likes • 14h
well said @Kyle G
The Best Code
The best code is no code at all. It has no bugs, requires no maintenance, and is infinitely scalable. Before you write, ask if you can avoid it. Do you agree?
The Best Code
0 likes • 14h
Can we see o zero vulnerability code one in time 🙂
AI Interviewed a Junior Java Dev... Here's What Happened
We put a junior developer through a Java interview... with an AI interviewer 👀 New video is up. I ran a full mock interview with a community member, but the twist is the interviewer was an AI. Real questions, real pressure, real feedback at the end. We covered the stuff every junior gets asked: - The four pillars of OOP - Encapsulation and how immutability ties into it - Why the String class is immutable (it's not just performance) - ArrayList vs LinkedList and the real tradeoffs - The Stream API He held his own, but there were a couple of moments where he started rambling under pressure, which is honestly one of the most common things I see in real interviews. Watch it here 👉 https://youtu.be/1YBfizdkYls Then tell me in the comments: What's the one Java interview question that caught you off guard? Or if you've got an interview coming up, drop it below and the community will help you prep. Let's get more of you from junior to hired 🚀
0 likes • 14h
Amazing, I think this will be the interviewing method from now on😵‍💫
0 likes • 14h
Amazing, I think this will be the interviewing method from now on
Really enjoyed video about JEV new ai model and thought it was worth sharing with you all.
Big thanks @Nelson Djalo for sharing this! On the amigoscode YouTube channel Always appreciate discovering useful content thank you https://www.youtube.com/watch?v=VC2YuBeT1-0&t=211s
0
0
1-10 of 28
Mourad Zerbane
3
25 points to level up
@mourad-mouad-1375
a software engineer who loves solving problems and makes life easier

Active 2h ago
Joined Jul 22, 2026
Powered by