Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Apache Kafka Stream Processing

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

Transcript

19 slides
  1. WHO AM I? ALEX XANDRA ALBERT SIM ‣ Principal Software

    Development Engineer at blibli.com ‣ Part of the R&D Team ‣ [email protected] ‣ bertzzie(.sim)
  2. MAU BAHAS APA? TERSERAH… AGENDA ‣ Stream Core Concept ‣

    Stream vs Subscription ‣ Simple Example: Word count ‣ More complicated example: Dota2 Replay Parser
  3. STREAM CORE CONCEPT WHAT IS A STREAM? unbounded, continuously updating

    data set ordered, replayable, and fault-tolerant sequence of immutable data records key-value pair
  4. STREAM VS SUBSCRIPTION NOTE THAT: ‣ Stream API is built

    on top of Subscription API ‣ Mostly the difference is on feature and convenience ‣ e.g. stream has interactive query, functional DSL, event- processing, etc ‣ You can do this all in Subscription API if you want to
  5. PRE-DEMO 2 WHAT WE’RE GOING TO DO ‣ Read Dota2

    Replay File ‣ Get hero position every game tick ‣ Stream to count how many times someone move to certain coordinate ‣ Useful for analysis e.g. heatmap of coordinate, positioning analysis
  6. MORE! WANT TO KNOW MORE? ‣ Code is at https://github.com/bertzzie/kafka-clarity

    ‣ Slides is at https://s.id/jvm5slide2 ‣ Feel free to talk to me anytime (email, social media, etc)! ‣ Also talk to good people at @JVMUserGroup in Telegram

More Decks by Alex Xandra Albert Sim

Other Decks in Programming