Skip to content

Commit

Permalink
Add back kafka download/setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Suyog Rao committed May 4, 2016
1 parent 50e3ef0 commit 819ee60
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ cache: bundler
rvm:
- jruby-1.7.25
before_install:
- curl -s -o kafka.tgz http://ftp.wayne.edu/apache/kafka/0.9.0.1/kafka_2.11-0.9.0.1.tgz
- mkdir kafka && tar xzf kafka.tgz -C kafka --strip-components 1
- kafka/bin/zookeeper-server-start.sh kafka/config/zookeeper.properties &
- kafka/bin/kafka-server-start.sh kafka/config/server.properties &
- sleep 3
- kafka/bin/kafka-topics.sh --create --partitions 1 --replication-factor 1 --topic topic1 --zookeeper localhost:2181
- kafka/bin/kafka-topics.sh --create --partitions 2 --replication-factor 1 --topic topic2 --zookeeper localhost:2181
- kafka/bin/kafka-topics.sh --create --partitions 1 --replication-factor 1 --topic gzip_topic --zookeeper localhost:2181
- kafka/bin/kafka-topics.sh --create --partitions 1 --replication-factor 1 --topic snappy_topic --zookeeper localhost:2181
- kafka/bin/kafka-topics.sh --create --partitions 1 --replication-factor 1 --topic lz4_topic --zookeeper localhost:2181
- kafka/bin/kafka-topics.sh --create --partitions 3 --replication-factor 1 --topic topic3 --zookeeper localhost:2181
- git clone -b feature/event_interface https://github.com/elastic/logstash
before_script:
- bundle exec rake vendor
Expand Down

0 comments on commit 819ee60

Please sign in to comment.