Skip to content

This project we build to learning how to find out the meaning from data and my life

License

Notifications You must be signed in to change notification settings

irish-luong/hado-hado

Repository files navigation

hado-hado

What about me

I love the meaning of Man search for meaning.

This project we build to learning how to find out the meaning from data

  • Note my life experience
  • Set up data pipeline
  • Deploy application to connect to data pipeline to mine insight from them
  • Learn how to protect data

Contact

Scala - Spark App with sbt

sbt

sbt is a build tool which is created for Scala project and supported by Lighbend

  1. Install sbt with HomeBrew
    $ brew install sbt
    
  2. Start Scala project: scala-build-tool-sbt

Kafka

Knowledge

  1. Set up kafka: Medium
  2. Full-stack implementation: Confluentinc

Practice

  1. Start broker
    $ cd kafka-broker
    $ docker-compose up -d
    $ docker exec -ti kafka-tools bash
    
  2. Create kafka topic
    $ kafka-topics \
         --create \
         --bootstrap-server localhost:9092 \
         --replication-factor 1 \
         --partitions 2 \
         --topic to-do-list
    
  3. List kafka topic
    $ kafka-topics \
        --list \
        --bootstrap-server localhost:9092
    
  4. Produce message to the kafka topic
     $ kafka-console-producer \
         --broker-list localhost:9092 \
         --topic to-do-list \
         --property "parse.key=true" \
         --property "key.separator=:"
    
  5. Consume message from the kafka topic
     $ kafka-console-consumer \
         --bootstrap-server localhost:9092 \
         --from-beginning \
         --topic to-do-list \
         --property "print.key=true"
    

About

This project we build to learning how to find out the meaning from data and my life

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published