Class: Kafkat::Assignment

Inherits:
Struct
  • Object
show all
Defined in:
lib/kafkat/cluster/assignment.rb

Instance Attribute Summary collapse

Instance Attribute Details

#partition_idObject

Returns the value of attribute partition_id

Returns:

  • (Object)

    the current value of partition_id



2
3
4
# File 'lib/kafkat/cluster/assignment.rb', line 2

def partition_id
  @partition_id
end

#replicasObject

Returns the value of attribute replicas

Returns:

  • (Object)

    the current value of replicas



2
3
4
# File 'lib/kafkat/cluster/assignment.rb', line 2

def replicas
  @replicas
end

#topic_nameObject

Returns the value of attribute topic_name

Returns:

  • (Object)

    the current value of topic_name



2
3
4
# File 'lib/kafkat/cluster/assignment.rb', line 2

def topic_name
  @topic_name
end