Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature/plugin-api-2_0'
Browse files Browse the repository at this point in the history
  • Loading branch information
ph committed May 6, 2016
2 parents 8750914 + 819ee60 commit 7b80adf
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 16 deletions.
31 changes: 17 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
---
sudo: false
language: ruby
cache: bundler
rvm:
- jruby-19mode
- 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
- 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
- bundle exec rake install_jars
- bundle exec rake vendor
- bundle exec rake install_jars
script: bundle exec rspec && bundle exec rspec --tag integration
jdk: oraclejdk8
8 changes: 7 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
source 'https://rubygems.org'
gemspec
gemspec
gem "logstash-core", :path => "./logstash/logstash-core"
gem "logstash-core-plugin-api", :path => "./logstash/logstash-core-plugin-api"
gem "logstash-core-event-java", :path => "./logstash/logstash-core-event-java"
gem "logstash-devutils", :github => "elastic/logstash-devutils", :branch => "feature/plugin-api-2_0"
gem "logstash-codec-plain", :github => "logstash-plugins/logstash-codec-plain", :branch => "feature/plugin-api-2_0"
gem "logstash-codec-json", :github => "logstash-plugins/logstash-codec-json", :branch => "feature/plugin-api-2_0"
2 changes: 1 addition & 1 deletion logstash-output-kafka.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'jar-dependencies', '~> 0.3.2'

# Gem dependencies
s.add_runtime_dependency "logstash-core-plugin-api", "~> 1.0"
s.add_runtime_dependency "logstash-core-plugin-api", "~> 2.0"
s.add_runtime_dependency 'logstash-codec-plain'
s.add_runtime_dependency 'logstash-codec-json'

Expand Down

0 comments on commit 7b80adf

Please sign in to comment.