Module: KafkaRestClient

Defined in:
lib/kafka_rest_client.rb,
lib/kafka_rest_client/utils.rb,
lib/kafka_rest_client/errors.rb,
lib/kafka_rest_client/avro_producer.rb,
lib/kafka_rest_client/configuration.rb

Defined Under Namespace

Modules: Utils Classes: AvroProducer, BadGateway, Configuration, Error, InternalServerError, NestedHashSerializationNotImplemented, SchemaNotFoundError, SchemaValidationError, TopicNotFoundError

Class Method Summary collapse

Class Method Details

.configure {|Configuration.current| ... } ⇒ Object

Yields:



4
5
6
7
# File 'lib/kafka_rest_client.rb', line 4

def self.configure
  Configuration.current = Configuration.new
  yield(Configuration.current)
end