Giter Club home page Giter Club logo

data-engineering's Introduction

Data Engineering

First steps

Init python virtual environment

python -m venv .env/data-engineering

Activate python virtual environment

source .env/data-engineering/bin/activate

Some of the projects are using different versions of java and scala, so it is recommended to use SDKMAN to manage the versions of java and scala.

Install SDKMAN

curl -s "https://get.sdkman.io" | bash

Then you can run the following command in proper project directory to install the latest version of java and scala

sdk env install 

The custom partitioner for the Kafka Connect S3 Sink connector requires a JDK 11. You can install it using SDKMAN The scala projects of Apache Flink job require JDK 17 and Scala 2.12.19

Please check the .sdkmanrc file in the root of the project to see the versions of java and scala required for each project.

The docker compose file is located in the data-engineering-tools of the project. You can start the environment using the following command:

docker compose up -d zookeeper kafka schema-registry minio kafkactl redpanda-console kconnect-s3sink awscli minio-client

The command above will start the the environment for the testing Kafka Connect S3 Sink connector and other goodies like minio, redpanda, kafkactl, etc.

To start the environment for the Apache Flink project, you can run similar but excuding the kconnect-s3sink service.

The important part is the configure a connector for the Kafka Connect S3 Sink. You can use the Insonmia or Postman to send a POST request to the Kafka Connect REST API to create a connector. The connector configuration is located in the data-engineering-tools/kafka-connect directory of the project, the filename is Insomnia_*.json.

data-engineering's People

Contributors

limpid-kzonix avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.