public class ConnectorClientConfigRequest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConnectorClientConfigRequest.ClientType |
Constructor and Description |
---|
ConnectorClientConfigRequest(String connectorName,
ConnectorType connectorType,
Class<? extends Connector> connectorClass,
Map<String,Object> clientProps,
ConnectorClientConfigRequest.ClientType clientType) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
clientProps()
Provides Config with prefix
producer.override. for ConnectorType.SOURCE . |
ConnectorClientConfigRequest.ClientType |
clientType()
ConnectorClientConfigRequest.ClientType.PRODUCER for ConnectorType.SOURCE
ConnectorClientConfigRequest.ClientType.CONSUMER for ConnectorType.SINK
ConnectorClientConfigRequest.ClientType.PRODUCER for DLQ in ConnectorType.SINK
ConnectorClientConfigRequest.ClientType.ADMIN for DLQ Topic Creation in ConnectorType.SINK |
Class<? extends Connector> |
connectorClass()
The class of the Connector.
|
String |
connectorName()
Name of the connector specified in the connector config.
|
ConnectorType |
connectorType()
Type of the Connector.
|
public ConnectorClientConfigRequest(String connectorName, ConnectorType connectorType, Class<? extends Connector> connectorClass, Map<String,Object> clientProps, ConnectorClientConfigRequest.ClientType clientType)
public Map<String,Object> clientProps()
producer.override.
for ConnectorType.SOURCE
.
Provides Config with prefix consumer.override.
for ConnectorType.SINK
.
Provides Config with prefix producer.override.
for ConnectorType.SINK
for DLQ.
Provides Config with prefix admin.override.
for ConnectorType.SINK
for DLQ.producer.override.
,
consumer.override.
and admin.override.
. The configs don't include the prefixes.public ConnectorClientConfigRequest.ClientType clientType()
ConnectorClientConfigRequest.ClientType.PRODUCER
for ConnectorType.SOURCE
ConnectorClientConfigRequest.ClientType.CONSUMER
for ConnectorType.SINK
ConnectorClientConfigRequest.ClientType.PRODUCER
for DLQ in ConnectorType.SINK
ConnectorClientConfigRequest.ClientType.ADMIN
for DLQ Topic Creation in ConnectorType.SINK
public String connectorName()
public ConnectorType connectorType()
ConnectorType.SINK
or ConnectorType.SOURCE
.