Package org.apache.kafka.common.config
Class ConfigResource
java.lang.Object
org.apache.kafka.common.config.ConfigResource
A class representing resources that have configs.
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionConfigResource(ConfigResource.Type type, String name) Create an instance of this class with the provided parameters.
- 
Method Summary
- 
Constructor Details- 
ConfigResourceCreate an instance of this class with the provided parameters.- Parameters:
- type- a non-null resource type
- name- a non-null resource name
 
 
- 
- 
Method Details- 
typeReturn the resource type.
- 
nameReturn the resource name.
- 
isDefaultpublic boolean isDefault()Returns true if this is the default resource of a resource type. Resource name is empty for the default resource.
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-