Class: Rdkafka::Admin::DeleteGroupsReport
- Inherits:
-
Object
- Object
- Rdkafka::Admin::DeleteGroupsReport
- Defined in:
- lib/rdkafka/admin/delete_groups_report.rb
Overview
Report for delete groups operation result
Instance Attribute Summary collapse
-
#error_string ⇒ String
readonly
Any error message generated from the DeleteTopic.
-
#result_name ⇒ String
readonly
The name of the topic deleted.
Instance Method Summary collapse
-
#initialize(error_string, result_name) ⇒ DeleteGroupsReport
constructor
A new instance of DeleteGroupsReport.
Constructor Details
#initialize(error_string, result_name) ⇒ DeleteGroupsReport
Returns a new instance of DeleteGroupsReport.
17 18 19 20 21 22 23 24 |
# File 'lib/rdkafka/admin/delete_groups_report.rb', line 17 def initialize(error_string, result_name) if error_string != FFI::Pointer::NULL @error_string = error_string.read_string end if result_name != FFI::Pointer::NULL @result_name = result_name.read_string end end |
Instance Attribute Details
#error_string ⇒ String (readonly)
Any error message generated from the DeleteTopic
9 10 11 |
# File 'lib/rdkafka/admin/delete_groups_report.rb', line 9 def error_string @error_string end |
#result_name ⇒ String (readonly)
The name of the topic deleted
13 14 15 |
# File 'lib/rdkafka/admin/delete_groups_report.rb', line 13 def result_name @result_name end |