How kwangjong/coinbase-real-time-data-pipeline works
Project’s Type and Purpose
• The project is a full-stack real-time data pipeline. It gathers cryptocurrency market data from Coinbase via a WebSocket API, processes it in real time, and then stores and visualizes the data.
• The primary components include a Java-based Kafka producer, a Go-based Kafka consumer, Apache Kafka as the messaging backbone, Apache Spark for stream processing, HDFS for raw data storage, Cassandra for historical data storage, and Grafana for visualization.
• Containerization (via Docker) and orchestration (via Kubernetes/Minikube) are integral parts of the deployment strategy.
File Structure for Architectural Clues
• Top-level directories are split out by service/component (e.g., java_coinbase_producer, go_kafka_consumer, spark_stream_processor, cassandra, grafana, hdfs). This separation indicates a microservice or modular architecture.
• There are dedicated Dockerfiles for each component – confirming containerized deployment, while the “k8s” directory contains Kubernetes deployment manifests, outlining service definitions and interconnections.
• Additional directories under “test” for consumer and producer indicate the presence of integration tests that simulate or validate these interactions.
• Build and configuration files (pom.xml in Java projects, build.sbt in Spark, and go.mod in Go) reveal the specific technologies and dependencies coupled with each service.
Extract Architectural Insights from the README
• It also explains the CI/CD pipeline using GitHub Actions for building and pushing Docker images on code changes.