public static class AlterConfigPolicy.RequestMetadata extends Object
Constructor and Description |
---|
RequestMetadata(ConfigResource resource,
Map<String,String> configs)
Create an instance of this class with the provided parameters.
|
RequestMetadata(ConfigResource resource,
Map<String,String> configs,
KafkaPrincipal principal)
Confluent constructor for propagating principal to policy until KIP-201 is implemented
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
configs()
Return the configs in the request.
|
KafkaPrincipal |
principal() |
ConfigResource |
resource() |
String |
toString() |
public RequestMetadata(ConfigResource resource, Map<String,String> configs)
AlterConfigPolicy
implementations easier.public RequestMetadata(ConfigResource resource, Map<String,String> configs, KafkaPrincipal principal)
public KafkaPrincipal principal()
public ConfigResource resource()