Git Product home page Git Product logo

metaarivu / kafka-quickstart Goto Github PK

View Code? Open in Web Editor NEW
37.0 4.0 18.0 191.38 MB

Kafka Examples focusing on Producer, Consumer, KStreams, KTable, Global KTable using Spring, Kafka Cluster Setup & Monitoring. Implementing Event Sourcing and CQRS Design Pattern using Kafka

Java 88.38% Shell 4.81% HCL 6.80%
kafka-consumer kafka-producer spring-kafka spring-kafka-test kafka-ssl kafka kstream ktable global-ktable event-sourcing

kafka-quickstart's Introduction

Kafka Examples Using Spring

This tutorial focus of different features of KAKFA

  • Kafka Setup
  • Kafka SSL Configuration

This demo focus on following feature

  • 1 Asynchronous Simple Event Publisher
  • 2 Event Publisher with key, this will make sure event with same key goes to same partition
  • 3 Event Publisher with callback method
  • 4 Publish event with headers
  • 5 Publish event in synchronous way
  • 6 How to use embeded kafka for unit testing

This Deemo Focus on following features

  • 1 Simple event consumer
  • 2 Event consumer with consumer rercord, this will give you more information of message like Key, Partition, Offset etc
  • 3 Event consumer with header, this will give you all the standard header and custom header information
  • 4 How to handle exception in generic way
  • 5 Manual Acknowledgement
  • 6 Concurrent Message Listener
  • 7 Retry

This section focus on how to enable usage of Confluent Schema Registry and Avro serialization format in your Spring Boot applications.

5: KStream & KTable

Screen Shot 2021-11-01 at 11 42 07 PM

5.1: KStream

This section focus on how to use KStream

  • 1 Working with KStream
  • 2 Implementing Exactly Once Pattern
  • 3 Handling Business Error
  • 4 Branching
  • 5 Reducing
  • 6 Aggregation
  • 7 Joining KStreams and Global Table

5.2: KTable

This section focus on how to use KTable

  • 1 Working with Ktable
  • 2 Aggregation
  • 3 Reducing
  • 4 Global Table

This section focus on implementing Event Sourcing & CQRS using Kafka KStream & KTable. Here we have build small Shopping Cart Service functionality.

WhatsApp Image 2021-10-28 at 4 16 30 PM

This section focus on setting Kafka Cluster Setup. In this demo we will focus on setting 3 zookeeper with 3 broker setup.

WhatsApp Image 2021-11-03 at 10 52 44 AM

Screen Shot 2021-11-03 at 3 58 02 PM

Screen Shot 2021-11-03 at 1 20 14 PM

License

Copyright © MetaMagic Global Inc, 2021-22. All rights reserved.

Licensed under the Apache 2.0 License.

Enjoy!

kafka-quickstart's People

Contributors

deepali-arvind avatar ketan-gote avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.