r/java • • Oct 15 '26

Introducing Titan, an open-source message dispatcher

Hi, I've been building Titan, an open-source message dispatcher for apps that need to send updates to connected clients.

An app publishes a message to a destination, and Titan delivers it to anyone subscribed to that destination. It supports STOMP over TCP and WebSocket, and there's a Java client with Spring Boot integration.

I'm thinking of uses like chat rooms, in-app notifications, and live dashboards. For example, people viewing the same dashboard could receive updates as they happen instead of having their browsers keep polling the backend.

Messages are kept in memory, so they won't survive a server restart. That's something to keep in mind if your application needs persistent messages.

I wanted to build something useful that I could share with other developers working on messaging applications. I'd be interested to hear whether this fits anything you're building, and what's missing for your use case.

https://github.com/traffic-hunter/titan

7 Upvotes

13 comments sorted by

View all comments

Show parent comment

3

u/Round_Patient_7420 Oct 17 '26

Thanks for taking the time to review the code and share such detailed feedback!

I’ll take a look at the points you raised and make some improvements. I previously used Vert.x but have since moved away from it, so it looks like some leftover code is still there. I’ll clean that up.
As for message delivery guarantees, Titan currently follows an at-most-once delivery policy, with no retries or replay.

Do you think Titan would be a good fit for your use case of streaming log events to a web interface? I’d be interested to hear your thoughts.