It looks like your question was cut off, but it seems you're working on an application to track the International Space Station (ISS) using Quarkus and SmallRye Mutiny. You've created an IssPositionCache class that serves as a central hub for storing and broadcasting updates about the ISS's position.
If you need help with any specific part of your implementation, here are some common areas you might want to address:
- Updating Position Data: Ensure that the
updatemethod is called periodically by an external scheduler or service. - Streaming Updates: Implementing a REST endpoint to stream updates to clients using Server-Sent Events (SSE) or WebSockets.
- Client-Side Implementation: Ensuring your frontend can handle and render the position data correctly.
1. Updating Position Data
You need an external service that periodically fetches ISS position data from the API and updates your cache. This could be a simple scheduled Quarkus application component:
java1import jakarta.enterprise.context.ApplicationScoped; 2import jakarta.inject.Inject; 3 4@ApplicationScoped 5public class IssPositionUpdater { 6 7 @Inject 8 IssPositionCache issPositionCache; 9 10 @Scheduled(cron = "0 11 12[Read the full article at DEV Community](https://dev.to/myfear/build-a-real-time-iss-tracker-with-quarkus-sse-and-qute-1a5b) 13 14--- 15 16**Want to create content about this topic?** [Use Nemati AI tools](https://nemati.ai) to generate articles, social posts, and more.

![[AINews] The Unreasonable Effectiveness of Closing the Loop](/_next/image?url=https%3A%2F%2Fmedia.nemati.ai%2Fmedia%2Fblog%2Fimages%2Farticles%2F600e22851bc7453b.webp&w=3840&q=75)



