How erencsahin/dataproject32bit works
Project type and purpose
• This is a real-time data ingestion and processing pipeline (not a traditional full-stack web app). It collects raw Forex rate data from two “subscriber” sources (TCP streaming and REST API), buffers and computes in Redis, publishes computed averages over Kafka, then persists into PostgreSQL and indexes into OpenSearch.
File structure
• Top-level directories:
• coordinator/ – the main Spring Boot service (build scripts, Dockerfile, source under src/main/java)
• Tcp/ and rest/ – likely sample or test subscribers
• docker-compose.yml – orchestrates Redis, Kafka/Zookeeper, PostgreSQL, OpenSearch, and the coordinator service
• pom.xml – Maven parent that ties modules together
• Inside coordinator: clear layering of packages: subscribers, kafka, redis, calculator, dto, repository, opensearch.
README
• Describes each logical component: TCPSubscriber, RestSubscriber, Coordinator, DataCalculator/RateCalculator, RedisService, KafkaProducer/Consumer, PostgreSQL (JPA), OpenSearch