Exception: Rdkafka::RdkafkaTopicPartitionListError
- Inherits:
-
RdkafkaError
- Object
- RuntimeError
- BaseError
- RdkafkaError
- Rdkafka::RdkafkaTopicPartitionListError
- Defined in:
- lib/rdkafka/error.rb
Overview
Error with topic partition list returned by the underlying rdkafka library.
Constant Summary
Constants inherited from RdkafkaError
Rdkafka::RdkafkaError::EMPTY_HASH
Instance Attribute Summary collapse
Attributes inherited from RdkafkaError
#broker_message, #details, #message_prefix, #rdkafka_response
Instance Method Summary collapse
-
#initialize(response, topic_partition_list, message_prefix = nil) ⇒ RdkafkaTopicPartitionListError
constructor
A new instance of RdkafkaTopicPartitionListError.
Methods inherited from RdkafkaError
#==, #abortable?, build, build_fatal, build_from_c, #code, #fatal?, #is_partition_eof?, #retryable?, #to_s, validate!
Constructor Details
#initialize(response, topic_partition_list, message_prefix = nil) ⇒ RdkafkaTopicPartitionListError
Returns a new instance of RdkafkaTopicPartitionListError.
250 251 252 253 |
# File 'lib/rdkafka/error.rb', line 250 def initialize(response, topic_partition_list, =nil) super(response, ) @topic_partition_list = topic_partition_list end |
Instance Attribute Details
#topic_partition_list ⇒ TopicPartitionList (readonly)
244 245 246 |
# File 'lib/rdkafka/error.rb', line 244 def topic_partition_list @topic_partition_list end |