Kafka::Handle
Inherits Reference < Object
Constructors
new(type : LibKafka::TypeT, conf : Configuration)
Creates a new Kafka handle and starts its operation according to the specified type.
new(handle : LibKafka::RdKafkaT)
SourceInstance methods
brokers_add(brokerlist : String)
Adds one or more brokers to the kafka handle's list of initial bootstrap brokers.
poll(timeout_ms = 1000)
Polls the provided kafka handle for events. Events will cause application provided callbacks to be called.
set_log_level(level : LibC::Int)
Sourceto_unsafe
Source