How to stream data from MySQL to Apache Kafka® | Kafka Tutorial

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии • 28

  • @ViktorGamov
    @ViktorGamov  3 года назад +1

    *timecodes* / *chapters*
    0:00​ - Intro
    1:44​ - explanation of the use case
    2:39​ - installing MySQL and enable Change Data Capture (CDC)
    6:59​ - adding Apache Kafka, Kafka Connect, and configuring Debezium connector
    12:53​ - validating that data flows through from MySQL to Kafka
    13:44​ - materialize data from Kafka using ksqlDB
    19:32​ - it's a wrap!

  • @julioribeiro1909
    @julioribeiro1909 3 года назад

    Dude, you saved me hours of work with these 2 lines:
    "transforms": "unwrap",
    "transforms.unwrap.type":"io.debezium.transforms.ExtractNewRecordState"
    Thank you very much.
    CDC has been a pain with all those metadata,... but now I figured out that we can rely on SMTs for some dirty jobs.

  • @petech6810
    @petech6810 3 года назад +3

    20 минут - идеальный формат. Спасибо!

  • @AndreyRebrov
    @AndreyRebrov 3 года назад +5

    Good stuff! Would be great to see Postgres, Redshift and Snowflake integrations in future.

  • @qualsysnox7713
    @qualsysnox7713 2 года назад +2

    very impressive CLI tools!

  • @toenytv7946
    @toenytv7946 3 года назад +1

    Want to clone your brain Viktor. Lol great edit. Miss all the jazz from the livestream. Thanks and keep up the sharing we all benefit from a Db superhero.

  • @nagsnowwhite
    @nagsnowwhite 3 года назад +1

    Good stuff. Excellent presentation.

  • @contactsan12
    @contactsan12 2 года назад

    The man has come

  • @JAIRTA25
    @JAIRTA25 3 года назад

    thanks for sharing ... very educational and easy to understand. 😃👍

  • @cedriclamalle
    @cedriclamalle 3 года назад

    This one was quick but great!
    Maybe one cool think would be to make a KTable from an actor topic coming from debezium too and join it with the movie stream...

    • @ViktorGamov
      @ViktorGamov  3 года назад +1

      @cedric I don't have a follow up idea to enrich a stream of movie ratings with movies info. Stay tuned

  • @maham4062
    @maham4062 Год назад +1

    How to fetch flat file from Kafka and load into sql server

  • @rydmerlin
    @rydmerlin 3 года назад +1

    Does the connector let you present both before and after image. Ie is it tied into the log of the db or is it just polling?
    That soundtrack could get you demonetized :-)

    • @ViktorGamov
      @ViktorGamov  3 года назад

      > Does the connector let you present both before and after image
      Here is a CDC event spec.
      The Debezium MySQL connector generates a data change event for each row-level INSERT, UPDATE, and DELETE operation
      debezium.io/documentation/reference/connectors/mysql.html#mysql-events
      > That soundtrack could get you demonetized :-)
      don't worry, I pay for my music 😎

  • @sujanyt4877
    @sujanyt4877 Год назад

    need help
    the debezium source connector disconnects from postgres DB after 15-16 minutes

  • @Raptor-jv7fi
    @Raptor-jv7fi 2 года назад

    Awesome stream 👏

  • @KaifKhan-px2ov
    @KaifKhan-px2ov 2 года назад

    Where do we create the kafka topic where debezium connector will dump the data?

  • @gabemc3722
    @gabemc3722 3 года назад

    Nice presentation - is it possible to use a connector to hit a kafka rest endpoint?

    • @ViktorGamov
      @ViktorGamov  3 года назад

      Yes, you can use this connector www.confluent.io/hub/castorm/kafka-connect-http

  • @icangicung20
    @icangicung20 2 года назад

    i have difficulties in converting timestamp and datetime from mysql

  • @aliakseydruzik7433
    @aliakseydruzik7433 3 года назад

    Victor, what do I have to install on my Mac in iTerm2 in order to run command in style like you - 'dcupd'?

    • @ViktorGamov
      @ViktorGamov  3 года назад +1

      Viktor: * releases a new vid about stream Processing
      Followers: how to have the same termal setup 😅
      Jokes aside it's just my alias for docker-compose up -d
      Same for dcdn - docker-compose down.
      Hope this helps!

  • @kerolesmonsef4179
    @kerolesmonsef4179 7 месяцев назад

    hello i need to show the changed columns and values only as before and after
    @ViktorGamov

  • @contactsan12
    @contactsan12 2 года назад

    Goodh Bhideo

  • @DhananjayaKarandana
    @DhananjayaKarandana 2 года назад

    Can anybody instruct me how to install kafka-avro-console-consumer on mac os please

    • @ViktorGamov
      @ViktorGamov  2 года назад

      Install Kafka via brew and console tools will be installed as well

  • @contactsan12
    @contactsan12 2 года назад +1

    Good Russian Man