Class: Fluent::KafkaInput::TopicEntry
- Inherits:
-
Object
- Object
- Fluent::KafkaInput::TopicEntry
- Defined in:
- lib/fluent/plugin/in_kafka.rb
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) ⇒ TopicEntry
constructor
A new instance of TopicEntry.
Constructor Details
#initialize(topic, partition, offset) ⇒ TopicEntry
Returns a new instance of TopicEntry.
327 328 329 330 331 |
# File 'lib/fluent/plugin/in_kafka.rb', line 327 def initialize(topic, partition, offset) @topic = topic @partition = partition @offset = offset end |
Instance Attribute Details
#offset ⇒ Object (readonly)
Returns the value of attribute offset.
332 333 334 |
# File 'lib/fluent/plugin/in_kafka.rb', line 332 def offset @offset end |
#partition ⇒ Object (readonly)
Returns the value of attribute partition.
332 333 334 |
# File 'lib/fluent/plugin/in_kafka.rb', line 332 def partition @partition end |
#topic ⇒ Object (readonly)
Returns the value of attribute topic.
332 333 334 |
# File 'lib/fluent/plugin/in_kafka.rb', line 332 def topic @topic end |