Exception: Kafka::ProcessingError
Overview
There was an error processing a message.
Instance Attribute Summary collapse
-
#offset ⇒ Object
readonly
Returns the value of attribute offset.
-
#partition ⇒ Object
readonly
Returns the value of attribute partition.
-
#topic ⇒ Object
readonly
Returns the value of attribute topic.
Instance Method Summary collapse
-
#initialize(topic, partition, offset) ⇒ ProcessingError
constructor
A new instance of ProcessingError.
Constructor Details
#initialize(topic, partition, offset) ⇒ ProcessingError
Returns a new instance of ProcessingError.
13 14 15 16 17 18 19 |
# File 'lib/kafka.rb', line 13 def initialize(topic, partition, offset) @topic = topic @partition = partition @offset = offset super() end |
Instance Attribute Details
#offset ⇒ Object (readonly)
Returns the value of attribute offset.
11 12 13 |
# File 'lib/kafka.rb', line 11 def offset @offset end |
#partition ⇒ Object (readonly)
Returns the value of attribute partition.
11 12 13 |
# File 'lib/kafka.rb', line 11 def partition @partition end |
#topic ⇒ Object (readonly)
Returns the value of attribute topic.
11 12 13 |
# File 'lib/kafka.rb', line 11 def topic @topic end |