Class ConnectorClientConfigRequest
java.lang.Object
org.apache.kafka.connect.connector.policy.ConnectorClientConfigRequest
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionConnectorClientConfigRequest(String connectorName, ConnectorType connectorType, Class<? extends Connector> connectorClass, Map<String, Object> clientProps, ConnectorClientConfigRequest.ClientType clientType) -
Method Summary
Modifier and TypeMethodDescriptionProvides Config with prefixproducer.override.forConnectorType.SOURCE.ConnectorClientConfigRequest.ClientType.PRODUCERforConnectorType.SOURCEConnectorClientConfigRequest.ClientType.CONSUMERforConnectorType.SINKConnectorClientConfigRequest.ClientType.PRODUCERfor DLQ inConnectorType.SINKConnectorClientConfigRequest.ClientType.ADMINfor DLQ Topic Creation inConnectorType.SINKThe class of the Connector.Name of the connector specified in the connector config.Type of the Connector.
-
Constructor Details
-
ConnectorClientConfigRequest
public ConnectorClientConfigRequest(String connectorName, ConnectorType connectorType, Class<? extends Connector> connectorClass, Map<String, Object> clientProps, ConnectorClientConfigRequest.ClientType clientType)
-
-
Method Details
-
clientProps
Provides Config with prefixproducer.override.forConnectorType.SOURCE. Provides Config with prefixconsumer.override.forConnectorType.SINK. Provides Config with prefixproducer.override.forConnectorType.SINKfor DLQ. Provides Config with prefixadmin.override.forConnectorType.SINKfor DLQ.- Returns:
- The client properties specified in the Connector Config with prefix
producer.override.,consumer.override.andadmin.override.. The configs don't include the prefixes.
-
clientType
ConnectorClientConfigRequest.ClientType.PRODUCERforConnectorType.SOURCEConnectorClientConfigRequest.ClientType.CONSUMERforConnectorType.SINKConnectorClientConfigRequest.ClientType.PRODUCERfor DLQ inConnectorType.SINKConnectorClientConfigRequest.ClientType.ADMINfor DLQ Topic Creation inConnectorType.SINK- Returns:
- enumeration specifying the client type that is being overriden by the worker; never null.
-
connectorName
Name of the connector specified in the connector config.- Returns:
- name of the connector; never null.
-
connectorType
Type of the Connector.- Returns:
- enumeration specifying the type of the connector
ConnectorType.SINKorConnectorType.SOURCE.
-
connectorClass
The class of the Connector.- Returns:
- the class of the Connector being created; never null
-