Class ConnectorClientConfigRequest
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionConnectorClientConfigRequest
(String connectorName, ConnectorType connectorType, Class<? extends Connector> connectorClass, Map<String, Object> clientProps, ConnectorClientConfigRequest.ClientType clientType) -
Method Summary
Modifier and TypeMethodDescriptionProvides configs with prefix "producer.override.
" forsource connectors
and alsosink connectors
that are configured with a DLQ topic.The 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 configs with prefix "producer.override.
" forsource connectors
and alsosink connectors
that are configured with a DLQ topic.Provides configs with prefix "
consumer.override.
" forsink connectors
and alsosource connectors
that are configured with a connector specific offsets topic (see KIP-618 for more details).Provides configs with prefix "
admin.override.
" forsink connectors
configured with a DLQ topic andsource connectors
that are configured with exactly-once semantics, a connector specific offsets topic or topic creation enabled (see KIP-158 for more details).- Returns:
- The client override properties specified in the Connector Config with prefix "
producer.override.
", "consumer.override.
" or "admin.override.
". The returned configs don't include the prefixes.
-
clientType
ConnectorClientConfigRequest.ClientType.PRODUCER
forConnectorType.SOURCE
ConnectorClientConfigRequest.ClientType.CONSUMER
forConnectorType.SINK
ConnectorClientConfigRequest.ClientType.PRODUCER
for DLQ inConnectorType.SINK
ConnectorClientConfigRequest.ClientType.ADMIN
for DLQ Topic Creation inConnectorType.SINK
- Returns:
- enumeration specifying the client type that is being overridden 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.SINK
orConnectorType.SOURCE
.
-
connectorClass
The class of the Connector.- Returns:
- the class of the Connector being created; never null
-