Sha256: 27659bc8834f75ffdc1000008afa5e17c4363b6b94d9525a6e1fc4be3a7730bc

Contents?: true

Size: 628 Bytes

Versions: 1

Compression:

Stored size: 628 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

1 entries across 1 versions & 1 rubygems

Version Path
jruby-kafka-0.2.1-java lib/jruby-kafka.rb