Kafka
Constants
VERSION = "0.1.0"
Class methods
err2str(err : LibKafka::RespErrT) : String
Returns a human readable representation of a kafka error.
get_debug_contexts
Retrieve supported debug contexts for use with the "debug" configuration property. Returns comma-separated list of available debugging contexts.
wait_destroyed(timeout_ms = 1000) : LibC::Int
Wait for all rd_kafka_t objects to be destroyed.
Instance methods
conf_properties_show
Prints a table to fp of all supported configuration properties, their default values as well as a description.
errno2err(errnox : LibC::Int) : LibKafka::RespErrT
Converts the system errno value errnox to a RespErrT error code upon failure from the following functions:
- rd_kafka_topic_new()
- rd_kafka_consume_start()
- rd_kafka_consume_stop()
- rd_kafka_consume()
- rd_kafka_consume_batch()
- rd_kafka_consume_callback()
- rd_kafka_consume_queue()
- rd_kafka_produce()