Exception: Kafka::DeliveryFailed
Overview
Raised if not all messages could be sent by a producer.
Instance Attribute Summary collapse
-
#failed_messages ⇒ Object
readonly
Returns the value of attribute failed_messages.
Instance Method Summary collapse
-
#initialize(message, failed_messages) ⇒ DeliveryFailed
constructor
A new instance of DeliveryFailed.
Constructor Details
#initialize(message, failed_messages) ⇒ DeliveryFailed
Returns a new instance of DeliveryFailed.
332 333 334 335 336 |
# File 'lib/kafka.rb', line 332 def initialize(, ) @failed_messages = super() end |
Instance Attribute Details
#failed_messages ⇒ Object (readonly)
Returns the value of attribute failed_messages.
330 331 332 |
# File 'lib/kafka.rb', line 330 def @failed_messages end |