Sha256: eef4b0534a927acedf2d26122b74c47ac4e7463acb38c35bbdfd1d1f247e80a3

Contents?: true

Size: 630 Bytes

Versions: 3

Compression:

Stored size: 630 Bytes

Contents

# Because of a problem with a kafka dependency, jbundler 0.5.5 does not work. Therefore, you
# need to do one of the following to have your Kafka jar dependencies available:
#
# - run your app under jbundler (adds a layer to bundler to manage jar dependencies)
# - already have the Kafka jars loaded before requiring jruby-kafka
# - set KAFKA_PATH in the environment to point to a Kafka binary installation
#
if not defined? JBUNDLER_CLASSPATH and ENV['KAFKA_PATH']
  require 'jruby-kafka/loader'
  Kafka.load_jars()
end

require "jruby-kafka/consumer"
require "jruby-kafka/group"
require "jruby-kafka/producer"

module Kafka
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jruby-kafka-0.2.0-java lib/jruby-kafka.rb
jruby-kafka-0.1.3-java lib/jruby-kafka.rb
jruby-kafka-0.1.2-java lib/jruby-kafka.rb