Skip to content

sample application to demonstrate storm kafka client or new kafka spout

Notifications You must be signed in to change notification settings

rajkrrsingh/Storm-Kafka-Client

Repository files navigation

Storm Kafka Client

build using maven

mvn clean package

run on storm cluster

storm jar /tmp/StormKafkaClient-0.0.1-SNAPSHOT.jar com.rajkrrsingh.test.KafkaSpoutTopology c421-node4.sandy.com:6667

to test produce some message to topics

/usr/hdp/current/kafka-broker/bin/kafka-producer-perf-test.sh --broker-list c421-node4.sandy.com:6667 --messages 100 --initial-message-id 0001 --topics kafka-spout-test-1

/usr/hdp/current/kafka-broker/bin/kafka-producer-perf-test.sh --broker-list c421-node4.sandy.com:6667 --messages 100 --initial-message-id 0001 --topics kafka-spout-test-2

/usr/hdp/current/kafka-broker/bin/kafka-producer-perf-test.sh --broker-list c421-node4.sandy.com:6667 --messages 100 --initial-message-id 0001 --topics kafka-spout-test

Test Commands working in new Kafka version:

/usr/hdp/current/kafka-broker/bin/kafka-producer-perf-test.sh  --num-records 2000 --record-size 100 --throughput 2000 --topic kafka-spout-test-1 --producer-props bootstrap.servers=<kafka-broker-fqdn>:6667

/usr/hdp/current/kafka-broker/bin/kafka-producer-perf-test.sh  --num-records 2000 --record-size 100 --throughput 2000 --topic kafka-spout-test-2 --producer-props bootstrap.servers=<kafka-broker-fqdn>:6667

/usr/hdp/current/kafka-broker/bin/kafka-producer-perf-test.sh  --num-records 2000 --record-size 100 --throughput 2000 --topic kafka-spout-test --producer-props bootstrap.servers=<kafka-broker-fqdn>:6667

About

sample application to demonstrate storm kafka client or new kafka spout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages