项目作者: Prashanth-Poddishetty

项目描述 :
Help's you get started with Kafka using JAVA API"S
高级语言: Java
项目地址: git://github.com/Prashanth-Poddishetty/Kafka_Training_JAVA.git


Kafka_Training_JAVA

Help’s you get started with Kafka using JAVA API”S

Here is well designed Maven Project which can help you get started with Kafka using JAVA API’s.

Following are the list of topics that are covered with these examples:

  1. Kafka Producer reading records from File.
  2. Kafka Producer fetching records from MySql Database.
  3. Kafka Consumer injecting records to MySql Database.

Following are java files present in this repo:

  1. FileAsSource.java : This is a producer file, which reads records from a file and send them as messages to consumer.
  2. MysqlAsProducer.java: This is a Producer file, which reads records from a MySql Database and send them as messages to consumer.
  3. MysqlAsConsumer.java: This is a Consumer file, which injects the received records into MySql Database.
  4. Server.properties: This is kafka server properties file for reference.