Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add data loader service and update documentation for local development #190

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

hackintoshrao
Copy link

This PR introduces a data loader service to facilitate sample data ingestion and updates the documentation for a smoother local development experience.

Key changes:

  • Add data_loader service to docker-compose
  • Create Dockerfile for data loader service
  • Implement load_data.sh script for sample data ingestion
  • Update README with detailed instructions for:
    • Setting up the local environment
    • Running tests
    • Loading and verifying sample data
    • Building and running kafka-delta-ingest locally

- Introduce new data_loader service for sample data ingestion
- Configure data_loader to use Ubuntu 20.04 base image
- Install kafkacat and tar utilities in data_loader container
- Set up volume mounting for load_data.sh script and data directory
- Configure data_loader to run with 'load-data' profile for optional execution
- Ensure data_loader depends on Kafka service
- Set environment variables for Kafka broker, topic, and data file location
- Use Ubuntu 20.04 base image
- Install kafkacat and tar
- Set /app as working directory
- Set entrypoint to /bin/bash
- Extract tarball of sample data
- Wait for Kafka broker to be ready
- Create topic if not exists
- Upload JSON data to Kafka topic
- Add details on docker-compose services
- Include steps for running tests, loading sample data
- Clarify build and run instructions with feature flags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant