
Tooling Tips: Visualizing Your Data in MongoDB and Kafka
Hello, everyone! When developing distributed systems like My Broker B3 , you often find yourself "working blindly" if you don't have the right tools to validate what’s happening inside your containers. Today, I want to share two essential tools I’m using to ensure that the market data fetched with Python is correctly reaching the database and the message broker. 1. MongoDB Compass: The Official MongoDB GUI Even though MongoDB is running in an isolated environment via Docker, MongoDB Compass is the tool I use to "see" the documents saved by the Market Data microservice. What it solves: It allows me to validate if the data mapping in Python worked correctly and if fields like created_at and price are in the expected format. How to connect to Docker: Connection String: mongodb://localhost:27017 (Ensure that port 27017 matches the one mapped in your docker-compose.yml ). Pro Tip: In Compass, you can visualize the price_history collection in either tabular or JSON format, which makes quick
Continue reading on Dev.to
Opens in a new tab



