Class AdminClientConfig
AdminClient configuration properties
Inherited Members
Namespace: Confluent.Kafka
Assembly: Confluent.Kafka.dll
Syntax
public class AdminClientConfig : ClientConfig, IEnumerable<KeyValuePair<string, string>>, IEnumerable
Constructors
AdminClientConfig()
Initialize a new empty AdminClientConfig instance.
Declaration
public AdminClientConfig()
AdminClientConfig(ClientConfig)
Initialize a new AdminClientConfig instance wrapping an existing ClientConfig instance. This will change the values "in-place" i.e. operations on this class WILL modify the provided collection
Declaration
public AdminClientConfig(ClientConfig config)
Parameters
Type | Name | Description |
---|---|---|
ClientConfig | config |
AdminClientConfig(IDictionary<string, string>)
Initialize a new AdminClientConfig instance wrapping an existing key/value pair collection. This will change the values "in-place" i.e. operations on this class WILL modify the provided collection
Declaration
public AdminClientConfig(IDictionary<string, string> config)
Parameters
Type | Name | Description |
---|---|---|
IDictionary<string, string> | config |
Methods
ThrowIfContainsNonUserConfigurable()
Check if any properties have been set that have implications for application logic and therefore shouldn't be set via external configuration, independent of the code. Throw an ArgumentException if so.
There are currently no such AdminClient configuration properties and this method will never throw.
Declaration
public AdminClientConfig ThrowIfContainsNonUserConfigurable()
Returns
Type | Description |
---|---|
AdminClientConfig |