Skip to content

netty server that accepts the json object and saves into kafka queue

Notifications You must be signed in to change notification settings

Lokeshwaranramu/nettykafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 

Repository files navigation

nettykafka

Problem: To create a java netty server that accepts the json object and saves it to kaska queue.

Procedure: I have installed the netty server in the debian development machine. The kafka is made to run using the tar files provided by apache.

Running Kafta includes following commands in debian: *Download the 0.10.2.0 release and un-tar it. *> tar -xzf kafka_2.11-0.10.2.0.tgz *> cd kafka_2.11-0.10.2.0 *> bin/zookeeper-server-start.sh config/zookeeper.properties *> bin/kafka-server-start.sh config/server.properties

Program given in this repository is used to get the time delay 10 seconds from the system as nanoseconds. These nanoseconds value are taken by the Netty server. The Encode and Decoder in the Codec folder is used to transfer the time from client to server as json object. Use this POM file to give netty server dependecies and to run the project.

About

netty server that accepts the json object and saves into kafka queue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages