Send feedback
Class CloudPubSubSinkConnector (0.1.5)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.1.5 keyboard_arrow_down
public class CloudPubSubSinkConnector extends SinkConnector
Inheritance
java.lang.Object >
org.apache.kafka.connect.connector.Connector >
org.apache.kafka.connect.sink.SinkConnector >
CloudPubSubSinkConnector
Inherited Members
org.apache.kafka.connect.connector.Connector.config()
org.apache.kafka.connect.connector.Connector.initialize(org.apache.kafka.connect.connector.ConnectorContext)
org.apache.kafka.connect.connector.Connector.initialize(org.apache.kafka.connect.connector.ConnectorContext,java.util.List<java.util.Map<java.lang.String,java.lang.String>>)
org.apache.kafka.connect.connector.Connector.reconfigure(java.util.Map<java.lang.String,java.lang.String>)
org.apache.kafka.connect.connector.Connector.start(java.util.Map<java.lang.String,java.lang.String>)
org.apache.kafka.connect.connector.Connector.stop()
org.apache.kafka.connect.connector.Connector.taskClass()
org.apache.kafka.connect.connector.Connector.taskConfigs(int)
org.apache.kafka.connect.connector.Connector.validate(java.util.Map<java.lang.String,java.lang.String>)
org.apache.kafka.connect.sink.SinkConnector.context()
Static Fields
CPS_MESSAGE_BODY_NAME
public static final String CPS_MESSAGE_BODY_NAME
Field Value
DEFAULT_DELAY_THRESHOLD_MS
public static final int DEFAULT_DELAY_THRESHOLD_MS
Field Value
DEFAULT_MAX_BUFFER_BYTES
public static final long DEFAULT_MAX_BUFFER_BYTES
Field Value
DEFAULT_MAX_BUFFER_SIZE
public static final int DEFAULT_MAX_BUFFER_SIZE
Field Value
DEFAULT_MAX_OUTSTANDING_MESSAGES
public static final long DEFAULT_MAX_OUTSTANDING_MESSAGES
Field Value
DEFAULT_MAX_OUTSTANDING_REQUEST_BYTES
public static final long DEFAULT_MAX_OUTSTANDING_REQUEST_BYTES
Field Value
DEFAULT_MESSAGE_BODY_NAME
public static final String DEFAULT_MESSAGE_BODY_NAME
Field Value
DEFAULT_ORDERING_KEY_SOURCE
public static final String DEFAULT_ORDERING_KEY_SOURCE
Field Value
DEFAULT_REQUEST_TIMEOUT_MS
public static final int DEFAULT_REQUEST_TIMEOUT_MS
Field Value
DEFAULT_SHUTDOWN_TIMEOUT_MS
public static final int DEFAULT_SHUTDOWN_TIMEOUT_MS
Field Value
DEFAULT_TOTAL_TIMEOUT_MS
public static final int DEFAULT_TOTAL_TIMEOUT_MS
Field Value
MAX_BUFFER_BYTES_CONFIG
public static final String MAX_BUFFER_BYTES_CONFIG
Field Value
MAX_BUFFER_SIZE_CONFIG
public static final String MAX_BUFFER_SIZE_CONFIG
Field Value
MAX_DELAY_THRESHOLD_MS
public static final String MAX_DELAY_THRESHOLD_MS
Field Value
MAX_OUTSTANDING_MESSAGES
public static final String MAX_OUTSTANDING_MESSAGES
Field Value
MAX_OUTSTANDING_REQUEST_BYTES
public static final String MAX_OUTSTANDING_REQUEST_BYTES
Field Value
MAX_REQUEST_TIMEOUT_MS
public static final String MAX_REQUEST_TIMEOUT_MS
Field Value
MAX_SHUTDOWN_TIMEOUT_MS
public static final String MAX_SHUTDOWN_TIMEOUT_MS
Field Value
MAX_TOTAL_TIMEOUT_MS
public static final String MAX_TOTAL_TIMEOUT_MS
Field Value
ORDERING_KEY_SOURCE
public static final String ORDERING_KEY_SOURCE
Field Value
public static final String PUBLISH_KAFKA_HEADERS
Field Value
public static final String PUBLISH_KAFKA_METADATA
Field Value
Constructors
CloudPubSubSinkConnector()
public CloudPubSubSinkConnector ()
Methods
config()
public ConfigDef config ()
Returns
Type Description org.apache.kafka.common.config.ConfigDef
Overrides
org.apache.kafka.connect.connector.Connector.config()
start(Map<String,String> props)
public void start ( Map<String , String > props )
Parameter
Overrides
org.apache.kafka.connect.connector.Connector.start(java.util.Map<java.lang.String,java.lang.String>)
stop()
Overrides
org.apache.kafka.connect.connector.Connector.stop()
taskClass()
public Class <? extends Task > taskClass ()
Returns
Type Description Class <? extends org.apache.kafka.connect.connector.Task >
Overrides
org.apache.kafka.connect.connector.Connector.taskClass()
taskConfigs(int maxTasks)
public List<Map<String , String >> taskConfigs ( int maxTasks )
Parameter
Name Description maxTasks int
Returns
Overrides
org.apache.kafka.connect.connector.Connector.taskConfigs(int)
version()
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]