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