Method: Rdkafka::Consumer::Partition#to_s
- Defined in:
- lib/rdkafka/consumer/partition.rb
#to_s ⇒ String
Human readable representation of this partition.
28 29 30 31 32 33 34 |
# File 'lib/rdkafka/consumer/partition.rb', line 28 def to_s = "<Partition #{partition}" += " offset=#{offset}" if offset += " err=#{err}" if err != 0 += ">" end |