Skip to content

nebrera/kafka

Repository files navigation

madvertise stable master kafka

This repo is always the latest stable snapshot of kafka with the following delta

hadoop-consumer

We include a set of scripts:

These scripts configured by environment variables:

export topic="your topic"
export hdfs_dir="/target/path/in/hdfs"
export generated_property_file="tmp_file_for_this_topic"
export list_of_brokers="config_file_containing_servers"

This can be added with command line options: initialize-hadoop.sh -t -d <hdfs_dir> -b <list_of_brokers> -g <generated_property_file>

Example file for $list_of_brokers:

kafka1.example.com:9092
kafka2.example.com:9092

Make sure to end the file with a '\n' or the last server is ignored

Credit

Based on Kafka DISTRIBUTED incremental Hadoop consumer

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published