A B C D E F G H I K L M N O P R S T V 

A

AlreadyExistsException - Exception in org.apache.kafka.connect.errors
Indicates the operation tried to create an entity that already exists.
AlreadyExistsException(String) - Constructor for exception org.apache.kafka.connect.errors.AlreadyExistsException
 
AlreadyExistsException(String, Throwable) - Constructor for exception org.apache.kafka.connect.errors.AlreadyExistsException
 
AlreadyExistsException(Throwable) - Constructor for exception org.apache.kafka.connect.errors.AlreadyExistsException
 
array(Schema) - Static method in class org.apache.kafka.connect.data.SchemaBuilder
 
assignment() - Method in interface org.apache.kafka.connect.sink.SinkTaskContext
Get the current set of assigned TopicPartitions for this task.

B

bool() - Static method in class org.apache.kafka.connect.data.SchemaBuilder
 
BOOLEAN_SCHEMA - Static variable in interface org.apache.kafka.connect.data.Schema
 
build() - Method in class org.apache.kafka.connect.data.SchemaBuilder
Build the Schema using the current settings
builder() - Static method in class org.apache.kafka.connect.data.Date
Returns a SchemaBuilder for a Date.
builder(int) - Static method in class org.apache.kafka.connect.data.Decimal
Returns a SchemaBuilder for a Decimal with the given scale factor.
builder() - Static method in class org.apache.kafka.connect.data.Time
Returns a SchemaBuilder for a Time.
builder() - Static method in class org.apache.kafka.connect.data.Timestamp
Returns a SchemaBuilder for a Timestamp.
bytes() - Static method in class org.apache.kafka.connect.data.SchemaBuilder
 
BYTES_SCHEMA - Static variable in interface org.apache.kafka.connect.data.Schema
 

C

close(Collection<TopicPartition>) - Method in class org.apache.kafka.connect.sink.SinkTask
The SinkTask use this method to close writers for partitions that are no longer assigned to the SinkTask.
commit() - Method in class org.apache.kafka.connect.source.SourceTask
Commit the offsets, up to the offsets that have been returned by SourceTask.poll().
commitRecord(SourceRecord) - Method in class org.apache.kafka.connect.source.SourceTask
Commit an individual SourceRecord when the callback from the producer client is received.
config() - Method in class org.apache.kafka.connect.connector.Connector
Define the configuration for the connector.
configure(Map<String, ?>, boolean) - Method in interface org.apache.kafka.connect.storage.Converter
Configure this class.
configure(Map<String, ?>, boolean) - Method in class org.apache.kafka.connect.storage.StringConverter
 
ConnectException - Exception in org.apache.kafka.connect.errors
ConnectException is the top-level exception type generated by Kafka Connect and connector implementations.
ConnectException(String) - Constructor for exception org.apache.kafka.connect.errors.ConnectException
 
ConnectException(String, Throwable) - Constructor for exception org.apache.kafka.connect.errors.ConnectException
 
ConnectException(Throwable) - Constructor for exception org.apache.kafka.connect.errors.ConnectException
 
Connector - Class in org.apache.kafka.connect.connector
Connectors manage integration of Kafka Connect with another system, either as an input that ingests data into Kafka or an output that passes data to an external system.
Connector() - Constructor for class org.apache.kafka.connect.connector.Connector
 
ConnectorContext - Interface in org.apache.kafka.connect.connector
ConnectorContext allows Connectors to proactively interact with the Kafka Connect runtime.
ConnectorUtils - Class in org.apache.kafka.connect.util
Utilities that connector implementations might find useful.
ConnectorUtils() - Constructor for class org.apache.kafka.connect.util.ConnectorUtils
 
ConnectRecord - Class in org.apache.kafka.connect.connector
Base class for records containing data to be copied to/from Kafka.
ConnectRecord(String, Integer, Schema, Object) - Constructor for class org.apache.kafka.connect.connector.ConnectRecord
 
ConnectRecord(String, Integer, Schema, Object, Schema, Object) - Constructor for class org.apache.kafka.connect.connector.ConnectRecord
 
ConnectSchema - Class in org.apache.kafka.connect.data
 
ConnectSchema(Schema.Type, boolean, Object, String, Integer, String, Map<String, String>, List<Field>, Schema, Schema) - Constructor for class org.apache.kafka.connect.data.ConnectSchema
Construct a Schema.
ConnectSchema(Schema.Type, boolean, Object, String, Integer, String) - Constructor for class org.apache.kafka.connect.data.ConnectSchema
Construct a Schema for a primitive type, setting schema parameters, struct fields, and key and value schemas to null.
ConnectSchema(Schema.Type) - Constructor for class org.apache.kafka.connect.data.ConnectSchema
Construct a default schema for a primitive type.
context - Variable in class org.apache.kafka.connect.connector.Connector
 
context - Variable in class org.apache.kafka.connect.sink.SinkTask
 
context - Variable in class org.apache.kafka.connect.source.SourceTask
 
Converter - Interface in org.apache.kafka.connect.storage
The Converter interface provides support for translating between Kafka Connect's runtime data format and byte[].

D

DataException - Exception in org.apache.kafka.connect.errors
Base class for all Kafka Connect data API exceptions.
DataException(String) - Constructor for exception org.apache.kafka.connect.errors.DataException
 
DataException(String, Throwable) - Constructor for exception org.apache.kafka.connect.errors.DataException
 
DataException(Throwable) - Constructor for exception org.apache.kafka.connect.errors.DataException
 
Date - Class in org.apache.kafka.connect.data
A date representing a calendar day with no time of day or timezone.
Date() - Constructor for class org.apache.kafka.connect.data.Date
 
Decimal - Class in org.apache.kafka.connect.data
An arbitrary-precision signed decimal number.
Decimal() - Constructor for class org.apache.kafka.connect.data.Decimal
 
defaultValue() - Method in class org.apache.kafka.connect.data.ConnectSchema
 
defaultValue() - Method in interface org.apache.kafka.connect.data.Schema
 
defaultValue() - Method in class org.apache.kafka.connect.data.SchemaBuilder
 
defaultValue(Object) - Method in class org.apache.kafka.connect.data.SchemaBuilder
Set the default value for this schema.
doc() - Method in class org.apache.kafka.connect.data.ConnectSchema
 
doc() - Method in interface org.apache.kafka.connect.data.Schema
 
doc() - Method in class org.apache.kafka.connect.data.SchemaBuilder
 
doc(String) - Method in class org.apache.kafka.connect.data.SchemaBuilder
Set the documentation for this schema.

E

equals(Object) - Method in class org.apache.kafka.connect.connector.ConnectRecord
 
equals(Object) - Method in class org.apache.kafka.connect.data.ConnectSchema
 
equals(Object) - Method in class org.apache.kafka.connect.data.Field
 
equals(Object) - Method in class org.apache.kafka.connect.data.SchemaAndValue
 
equals(Object) - Method in class org.apache.kafka.connect.data.Struct
 
equals(Object) - Method in class org.apache.kafka.connect.sink.SinkRecord
 
equals(Object) - Method in class org.apache.kafka.connect.source.SourceRecord
 

F

field(String) - Method in class org.apache.kafka.connect.data.ConnectSchema
 
Field - Class in org.apache.kafka.connect.data
A field in a Struct, consisting of a field name, index, and Schema for the field value.
Field(String, int, Schema) - Constructor for class org.apache.kafka.connect.data.Field
 
field(String) - Method in interface org.apache.kafka.connect.data.Schema
Get a field for this Schema by name.
field(String, Schema) - Method in class org.apache.kafka.connect.data.SchemaBuilder
Add a field to this struct schema.
field(String) - Method in class org.apache.kafka.connect.data.SchemaBuilder
 
fields() - Method in class org.apache.kafka.connect.data.ConnectSchema
 
fields() - Method in interface org.apache.kafka.connect.data.Schema
Get the list of fields for this Schema.
fields() - Method in class org.apache.kafka.connect.data.SchemaBuilder
Get the list of fields for this Schema.
float32() - Static method in class org.apache.kafka.connect.data.SchemaBuilder
 
FLOAT32_SCHEMA - Static variable in interface org.apache.kafka.connect.data.Schema
 
float64() - Static method in class org.apache.kafka.connect.data.SchemaBuilder
 
FLOAT64_SCHEMA - Static variable in interface org.apache.kafka.connect.data.Schema
 
flush(Map<TopicPartition, OffsetAndMetadata>) - Method in class org.apache.kafka.connect.sink.SinkTask
Flush all records that have been SinkTask.put(java.util.Collection<org.apache.kafka.connect.sink.SinkRecord>) for the specified topic-partitions.
fromConnectData(String, Schema, Object) - Method in interface org.apache.kafka.connect.storage.Converter
Convert a Kafka Connect data object to a native object for serialization.
fromConnectData(String, Schema, Object) - Method in class org.apache.kafka.connect.storage.StringConverter
 
fromLogical(Schema, Date) - Static method in class org.apache.kafka.connect.data.Date
Convert a value from its logical format (Date) to it's encoded format.
fromLogical(Schema, BigDecimal) - Static method in class org.apache.kafka.connect.data.Decimal
Convert a value from its logical format (BigDecimal) to it's encoded format.
fromLogical(Schema, Date) - Static method in class org.apache.kafka.connect.data.Time
Convert a value from its logical format (Time) to it's encoded format.
fromLogical(Schema, Date) - Static method in class org.apache.kafka.connect.data.Timestamp
Convert a value from its logical format (Date) to it's encoded format.

G

get(String) - Method in class org.apache.kafka.connect.data.Struct
Get the value of a field, returning the default value if no value has been set yet and a default value is specified in the field's schema.
get(Field) - Method in class org.apache.kafka.connect.data.Struct
Get the value of a field, returning the default value if no value has been set yet and a default value is specified in the field's schema.
getArray(String) - Method in class org.apache.kafka.connect.data.Struct
Equivalent to calling Struct.get(String) and casting the result to a List.
getBoolean(String) - Method in class org.apache.kafka.connect.data.Struct
Equivalent to calling Struct.get(String) and casting the result to a Boolean.
getBytes(String) - Method in class org.apache.kafka.connect.data.Struct
Equivalent to calling Struct.get(String) and casting the result to a byte[].
getFloat32(String) - Method in class org.apache.kafka.connect.data.Struct
Equivalent to calling Struct.get(String) and casting the result to a Float.
getFloat64(String) - Method in class org.apache.kafka.connect.data.Struct
Equivalent to calling Struct.get(String) and casting the result to a Double.
getInt16(String) - Method in class org.apache.kafka.connect.data.Struct
Equivalent to calling Struct.get(String) and casting the result to a Short.
getInt32(String) - Method in class org.apache.kafka.connect.data.Struct
Equivalent to calling Struct.get(String) and casting the result to a Integer.
getInt64(String) - Method in class org.apache.kafka.connect.data.Struct
Equivalent to calling Struct.get(String) and casting the result to a Long.
getInt8(String) - Method in class org.apache.kafka.connect.data.Struct
Equivalent to calling Struct.get(String) and casting the result to a Byte.
getMap(String) - Method in class org.apache.kafka.connect.data.Struct
Equivalent to calling Struct.get(String) and casting the result to a Map.
getName() - Method in enum org.apache.kafka.connect.data.Schema.Type
 
getString(String) - Method in class org.apache.kafka.connect.data.Struct
Equivalent to calling Struct.get(String) and casting the result to a String.
getStruct(String) - Method in class org.apache.kafka.connect.data.Struct
Equivalent to calling Struct.get(String) and casting the result to a Struct.
getWithoutDefault(String) - Method in class org.apache.kafka.connect.data.Struct
Get the underlying raw value for the field without accounting for default values.
groupPartitions(List<T>, int) - Static method in class org.apache.kafka.connect.util.ConnectorUtils
Given a list of elements and a target number of groups, generates list of groups of elements to match the target number of groups, spreading them evenly among the groups.

H

hashCode() - Method in class org.apache.kafka.connect.connector.ConnectRecord
 
hashCode() - Method in class org.apache.kafka.connect.data.ConnectSchema
 
hashCode() - Method in class org.apache.kafka.connect.data.Field
 
hashCode() - Method in class org.apache.kafka.connect.data.SchemaAndValue
 
hashCode() - Method in class org.apache.kafka.connect.data.Struct
 
hashCode() - Method in class org.apache.kafka.connect.sink.SinkRecord
 
hashCode() - Method in class org.apache.kafka.connect.source.SourceRecord
 

I

IllegalWorkerStateException - Exception in org.apache.kafka.connect.errors
Indicates that a method has been invoked illegally or at an invalid time by a connector or task.
IllegalWorkerStateException(String) - Constructor for exception org.apache.kafka.connect.errors.IllegalWorkerStateException
 
IllegalWorkerStateException(String, Throwable) - Constructor for exception org.apache.kafka.connect.errors.IllegalWorkerStateException
 
IllegalWorkerStateException(Throwable) - Constructor for exception org.apache.kafka.connect.errors.IllegalWorkerStateException
 
index() - Method in class org.apache.kafka.connect.data.Field
Get the index of this field within the struct.
initialize(ConnectorContext) - Method in class org.apache.kafka.connect.connector.Connector
Initialize this connector, using the provided ConnectorContext to notify the runtime of input configuration changes.
initialize(ConnectorContext, List<Map<String, String>>) - Method in class org.apache.kafka.connect.connector.Connector
Initialize this connector, using the provided ConnectorContext to notify the runtime of input configuration changes and using the provided set of Task configurations.
initialize(SinkTaskContext) - Method in class org.apache.kafka.connect.sink.SinkTask
Initialize the context of this task.
initialize(SourceTaskContext) - Method in class org.apache.kafka.connect.source.SourceTask
Initialize this SourceTask with the specified context object.
int16() - Static method in class org.apache.kafka.connect.data.SchemaBuilder
 
INT16_SCHEMA - Static variable in interface org.apache.kafka.connect.data.Schema
 
int32() - Static method in class org.apache.kafka.connect.data.SchemaBuilder
 
INT32_SCHEMA - Static variable in interface org.apache.kafka.connect.data.Schema
 
int64() - Static method in class org.apache.kafka.connect.data.SchemaBuilder
 
INT64_SCHEMA - Static variable in interface org.apache.kafka.connect.data.Schema
 
int8() - Static method in class org.apache.kafka.connect.data.SchemaBuilder
 
INT8_SCHEMA - Static variable in interface org.apache.kafka.connect.data.Schema
 
isOptional() - Method in class org.apache.kafka.connect.data.ConnectSchema
 
isOptional() - Method in interface org.apache.kafka.connect.data.Schema
 
isOptional() - Method in class org.apache.kafka.connect.data.SchemaBuilder
 
isPrimitive() - Method in enum org.apache.kafka.connect.data.Schema.Type
 

K

kafkaOffset() - Method in class org.apache.kafka.connect.sink.SinkRecord
 
kafkaPartition() - Method in class org.apache.kafka.connect.connector.ConnectRecord
 
key() - Method in class org.apache.kafka.connect.connector.ConnectRecord
 
keySchema() - Method in class org.apache.kafka.connect.connector.ConnectRecord
 
keySchema() - Method in class org.apache.kafka.connect.data.ConnectSchema
 
keySchema() - Method in interface org.apache.kafka.connect.data.Schema
Get the key schema for this map schema.
keySchema() - Method in class org.apache.kafka.connect.data.SchemaBuilder
 

L

LOGICAL_NAME - Static variable in class org.apache.kafka.connect.data.Date
 
LOGICAL_NAME - Static variable in class org.apache.kafka.connect.data.Decimal
 
LOGICAL_NAME - Static variable in class org.apache.kafka.connect.data.Time
 
LOGICAL_NAME - Static variable in class org.apache.kafka.connect.data.Timestamp
 

M

map(Schema, Schema) - Static method in class org.apache.kafka.connect.data.SchemaBuilder
 

N

name() - Method in class org.apache.kafka.connect.data.ConnectSchema
 
name() - Method in class org.apache.kafka.connect.data.Field
Get the name of this field.
name() - Method in interface org.apache.kafka.connect.data.Schema
 
name() - Method in class org.apache.kafka.connect.data.SchemaBuilder
 
name(String) - Method in class org.apache.kafka.connect.data.SchemaBuilder
Set the name of this schema.
NotFoundException - Exception in org.apache.kafka.connect.errors
Indicates that an operation attempted to modify or delete a connector or task that is not present on the worker.
NotFoundException(String) - Constructor for exception org.apache.kafka.connect.errors.NotFoundException
 
NotFoundException(String, Throwable) - Constructor for exception org.apache.kafka.connect.errors.NotFoundException
 
NotFoundException(Throwable) - Constructor for exception org.apache.kafka.connect.errors.NotFoundException
 
NULL - Static variable in class org.apache.kafka.connect.data.SchemaAndValue
 

O

offset(Map<TopicPartition, Long>) - Method in interface org.apache.kafka.connect.sink.SinkTaskContext
Reset the consumer offsets for the given topic partitions.
offset(TopicPartition, long) - Method in interface org.apache.kafka.connect.sink.SinkTaskContext
Reset the consumer offsets for the given topic partition.
offset(Map<String, T>) - Method in interface org.apache.kafka.connect.storage.OffsetStorageReader
Get the offset for the specified partition.
offsets(Collection<Map<String, T>>) - Method in interface org.apache.kafka.connect.storage.OffsetStorageReader
Get a set of offsets for the specified partition identifiers.
offsetStorageReader() - Method in interface org.apache.kafka.connect.source.SourceTaskContext
Get the OffsetStorageReader for this SourceTask.
OffsetStorageReader - Interface in org.apache.kafka.connect.storage
OffsetStorageReader provides access to the offset storage used by sources.
onPartitionsAssigned(Collection<TopicPartition>) - Method in class org.apache.kafka.connect.sink.SinkTask
Deprecated.
Use SinkTask.open(Collection) for partition initialization.
onPartitionsRevoked(Collection<TopicPartition>) - Method in class org.apache.kafka.connect.sink.SinkTask
Deprecated.
Use SinkTask.close(Collection) instead for partition cleanup.
open(Collection<TopicPartition>) - Method in class org.apache.kafka.connect.sink.SinkTask
The SinkTask use this method to create writers for newly assigned partitions in case of partition rebalance.
optional() - Method in class org.apache.kafka.connect.data.SchemaBuilder
Set this schema as optional.
OPTIONAL_BOOLEAN_SCHEMA - Static variable in interface org.apache.kafka.connect.data.Schema
 
OPTIONAL_BYTES_SCHEMA - Static variable in interface org.apache.kafka.connect.data.Schema
 
OPTIONAL_FLOAT32_SCHEMA - Static variable in interface org.apache.kafka.connect.data.Schema
 
OPTIONAL_FLOAT64_SCHEMA - Static variable in interface org.apache.kafka.connect.data.Schema
 
OPTIONAL_INT16_SCHEMA - Static variable in interface org.apache.kafka.connect.data.Schema
 
OPTIONAL_INT32_SCHEMA - Static variable in interface org.apache.kafka.connect.data.Schema
 
OPTIONAL_INT64_SCHEMA - Static variable in interface org.apache.kafka.connect.data.Schema
 
OPTIONAL_INT8_SCHEMA - Static variable in interface org.apache.kafka.connect.data.Schema
 
OPTIONAL_STRING_SCHEMA - Static variable in interface org.apache.kafka.connect.data.Schema
 
org.apache.kafka.connect.connector - package org.apache.kafka.connect.connector
 
org.apache.kafka.connect.data - package org.apache.kafka.connect.data
 
org.apache.kafka.connect.errors - package org.apache.kafka.connect.errors
 
org.apache.kafka.connect.sink - package org.apache.kafka.connect.sink
 
org.apache.kafka.connect.source - package org.apache.kafka.connect.source
 
org.apache.kafka.connect.storage - package org.apache.kafka.connect.storage
 
org.apache.kafka.connect.util - package org.apache.kafka.connect.util
 

P

parameter(String, String) - Method in class org.apache.kafka.connect.data.SchemaBuilder
Set a schema parameter.
parameters() - Method in class org.apache.kafka.connect.data.ConnectSchema
 
parameters() - Method in interface org.apache.kafka.connect.data.Schema
Get a map of schema parameters.
parameters() - Method in class org.apache.kafka.connect.data.SchemaBuilder
 
parameters(Map<String, String>) - Method in class org.apache.kafka.connect.data.SchemaBuilder
Set schema parameters.
pause(TopicPartition...) - Method in interface org.apache.kafka.connect.sink.SinkTaskContext
Pause consumption of messages from the specified TopicPartitions.
poll() - Method in class org.apache.kafka.connect.source.SourceTask
Poll this SourceTask for new records.
project(Schema, Object, Schema) - Static method in class org.apache.kafka.connect.data.SchemaProjector
This method project a value between compatible schemas and throw exceptions when non compatible schemas are provided
put(String, Object) - Method in class org.apache.kafka.connect.data.Struct
Set the value of a field.
put(Field, Object) - Method in class org.apache.kafka.connect.data.Struct
Set the value of a field.
put(Collection<SinkRecord>) - Method in class org.apache.kafka.connect.sink.SinkTask
Put the records in the sink.

R

raiseError(Exception) - Method in interface org.apache.kafka.connect.connector.ConnectorContext
Raise an unrecoverable exception to the Connect framework.
reconfigure(Map<String, String>) - Method in class org.apache.kafka.connect.connector.Connector
Reconfigure this Connector.
requestTaskReconfiguration() - Method in interface org.apache.kafka.connect.connector.ConnectorContext
Requests that the runtime reconfigure the Tasks for this source.
required() - Method in class org.apache.kafka.connect.data.SchemaBuilder
Set this schema as required.
resume(TopicPartition...) - Method in interface org.apache.kafka.connect.sink.SinkTaskContext
Resume consumption of messages from previously paused TopicPartitions.
RetriableException - Exception in org.apache.kafka.connect.errors
An exception that indicates the operation can be reattempted.
RetriableException(String) - Constructor for exception org.apache.kafka.connect.errors.RetriableException
 
RetriableException(String, Throwable) - Constructor for exception org.apache.kafka.connect.errors.RetriableException
 
RetriableException(Throwable) - Constructor for exception org.apache.kafka.connect.errors.RetriableException
 

S

SCALE_FIELD - Static variable in class org.apache.kafka.connect.data.Decimal
 
schema() - Method in class org.apache.kafka.connect.data.ConnectSchema
 
SCHEMA - Static variable in class org.apache.kafka.connect.data.Date
 
schema(int) - Static method in class org.apache.kafka.connect.data.Decimal
 
schema() - Method in class org.apache.kafka.connect.data.Field
Get the schema of this field
Schema - Interface in org.apache.kafka.connect.data
Definition of an abstract data type.
schema() - Method in interface org.apache.kafka.connect.data.Schema
Return a concrete instance of the Schema
schema() - Method in class org.apache.kafka.connect.data.SchemaAndValue
 
schema() - Method in class org.apache.kafka.connect.data.SchemaBuilder
Return a concrete instance of the Schema specified by this builder
schema() - Method in class org.apache.kafka.connect.data.Struct
Get the schema for this Struct.
SCHEMA - Static variable in class org.apache.kafka.connect.data.Time
 
SCHEMA - Static variable in class org.apache.kafka.connect.data.Timestamp
 
Schema.Type - Enum in org.apache.kafka.connect.data
The type of a schema.
SchemaAndValue - Class in org.apache.kafka.connect.data
 
SchemaAndValue(Schema, Object) - Constructor for class org.apache.kafka.connect.data.SchemaAndValue
 
SchemaBuilder - Class in org.apache.kafka.connect.data
SchemaBuilder provides a fluent API for constructing Schema objects.
SchemaBuilderException - Exception in org.apache.kafka.connect.errors
 
SchemaBuilderException(String) - Constructor for exception org.apache.kafka.connect.errors.SchemaBuilderException
 
SchemaBuilderException(String, Throwable) - Constructor for exception org.apache.kafka.connect.errors.SchemaBuilderException
 
SchemaBuilderException(Throwable) - Constructor for exception org.apache.kafka.connect.errors.SchemaBuilderException
 
SchemaProjector - Class in org.apache.kafka.connect.data
SchemaProjector is utility to project a value between compatible schemas and throw exceptions when non compatible schemas are provided.
SchemaProjector() - Constructor for class org.apache.kafka.connect.data.SchemaProjector
 
SchemaProjectorException - Exception in org.apache.kafka.connect.errors
 
SchemaProjectorException(String) - Constructor for exception org.apache.kafka.connect.errors.SchemaProjectorException
 
SchemaProjectorException(String, Throwable) - Constructor for exception org.apache.kafka.connect.errors.SchemaProjectorException
 
SchemaProjectorException(Throwable) - Constructor for exception org.apache.kafka.connect.errors.SchemaProjectorException
 
schemaType(Class<?>) - Static method in class org.apache.kafka.connect.data.ConnectSchema
Get the Schema.Type associated with the given class.
SinkConnector - Class in org.apache.kafka.connect.sink
SinkConnectors implement the Connector interface to send Kafka data to another system.
SinkConnector() - Constructor for class org.apache.kafka.connect.sink.SinkConnector
 
SinkRecord - Class in org.apache.kafka.connect.sink
SinkRecord is a ConnectRecord that has been read from Kafka and includes the kafkaOffset of the record in the Kafka topic-partition in addition to the standard fields.
SinkRecord(String, int, Schema, Object, Schema, Object, long) - Constructor for class org.apache.kafka.connect.sink.SinkRecord
 
SinkTask - Class in org.apache.kafka.connect.sink
SinkTask is a Task that takes records loaded from Kafka and sends them to another system.
SinkTask() - Constructor for class org.apache.kafka.connect.sink.SinkTask
 
SinkTaskContext - Interface in org.apache.kafka.connect.sink
Context passed to SinkTasks, allowing them to access utilities in the Kafka Connect runtime.
SourceConnector - Class in org.apache.kafka.connect.source
SourceConnectors implement the connector interface to pull data from another system and send it to Kafka.
SourceConnector() - Constructor for class org.apache.kafka.connect.source.SourceConnector
 
sourceOffset() - Method in class org.apache.kafka.connect.source.SourceRecord
 
sourcePartition() - Method in class org.apache.kafka.connect.source.SourceRecord
 
SourceRecord - Class in org.apache.kafka.connect.source
SourceRecords are generated by SourceTasks and passed to Kafka Connect for storage in Kafka.
SourceRecord(Map<String, ?>, Map<String, ?>, String, Integer, Schema, Object) - Constructor for class org.apache.kafka.connect.source.SourceRecord
 
SourceRecord(Map<String, ?>, Map<String, ?>, String, Schema, Object) - Constructor for class org.apache.kafka.connect.source.SourceRecord
 
SourceRecord(Map<String, ?>, Map<String, ?>, String, Schema, Object, Schema, Object) - Constructor for class org.apache.kafka.connect.source.SourceRecord
 
SourceRecord(Map<String, ?>, Map<String, ?>, String, Integer, Schema, Object, Schema, Object) - Constructor for class org.apache.kafka.connect.source.SourceRecord
 
SourceTask - Class in org.apache.kafka.connect.source
SourceTask is a Task that pulls records from another system for storage in Kafka.
SourceTask() - Constructor for class org.apache.kafka.connect.source.SourceTask
 
SourceTaskContext - Interface in org.apache.kafka.connect.source
SourceTaskContext is provided to SourceTasks to allow them to interact with the underlying runtime.
start(Map<String, String>) - Method in class org.apache.kafka.connect.connector.Connector
Start this Connector.
start(Map<String, String>) - Method in interface org.apache.kafka.connect.connector.Task
Start the Task
start(Map<String, String>) - Method in class org.apache.kafka.connect.sink.SinkTask
Start the Task.
start(Map<String, String>) - Method in class org.apache.kafka.connect.source.SourceTask
Start the Task.
stop() - Method in class org.apache.kafka.connect.connector.Connector
Stop this connector.
stop() - Method in interface org.apache.kafka.connect.connector.Task
Stop this task.
stop() - Method in class org.apache.kafka.connect.sink.SinkTask
Perform any cleanup to stop this task.
stop() - Method in class org.apache.kafka.connect.source.SourceTask
Signal this SourceTask to stop.
string() - Static method in class org.apache.kafka.connect.data.SchemaBuilder
 
STRING_SCHEMA - Static variable in interface org.apache.kafka.connect.data.Schema
 
StringConverter - Class in org.apache.kafka.connect.storage
Converter implementation that only supports serializing to strings.
StringConverter() - Constructor for class org.apache.kafka.connect.storage.StringConverter
 
struct() - Static method in class org.apache.kafka.connect.data.SchemaBuilder
 
Struct - Class in org.apache.kafka.connect.data
A structured record containing a set of named fields with values, each field using an independent Schema.
Struct(Schema) - Constructor for class org.apache.kafka.connect.data.Struct
Create a new Struct for this Schema

T

Task - Interface in org.apache.kafka.connect.connector
Tasks contain the code that actually copies data to/from another system.
taskClass() - Method in class org.apache.kafka.connect.connector.Connector
Returns the Task implementation for this Connector.
taskConfigs(int) - Method in class org.apache.kafka.connect.connector.Connector
Returns a set of configurations for Tasks based on the current configuration, producing at most count configurations.
Time - Class in org.apache.kafka.connect.data
A time representing a specific point in a day, not tied to any specific date.
Time() - Constructor for class org.apache.kafka.connect.data.Time
 
timeout(long) - Method in interface org.apache.kafka.connect.sink.SinkTaskContext
Set the timeout in milliseconds.
Timestamp - Class in org.apache.kafka.connect.data
A timestamp representing an absolute time, without timezone information.
Timestamp() - Constructor for class org.apache.kafka.connect.data.Timestamp
 
toConnectData(String, byte[]) - Method in interface org.apache.kafka.connect.storage.Converter
Convert a native object to a Kafka Connect data object.
toConnectData(String, byte[]) - Method in class org.apache.kafka.connect.storage.StringConverter
 
toLogical(Schema, int) - Static method in class org.apache.kafka.connect.data.Date
 
toLogical(Schema, byte[]) - Static method in class org.apache.kafka.connect.data.Decimal
 
toLogical(Schema, int) - Static method in class org.apache.kafka.connect.data.Time
 
toLogical(Schema, long) - Static method in class org.apache.kafka.connect.data.Timestamp
 
topic() - Method in class org.apache.kafka.connect.connector.ConnectRecord
 
TOPICS_CONFIG - Static variable in class org.apache.kafka.connect.sink.SinkConnector
Configuration key for the list of input topics for this connector.
TOPICS_CONFIG - Static variable in class org.apache.kafka.connect.sink.SinkTask
The configuration key that provides the list of topics that are inputs for this SinkTask.
toString() - Method in class org.apache.kafka.connect.connector.ConnectRecord
 
toString() - Method in class org.apache.kafka.connect.data.ConnectSchema
 
toString() - Method in class org.apache.kafka.connect.data.SchemaAndValue
 
toString() - Method in class org.apache.kafka.connect.sink.SinkRecord
 
toString() - Method in class org.apache.kafka.connect.source.SourceRecord
 
type() - Method in class org.apache.kafka.connect.data.ConnectSchema
 
type() - Method in interface org.apache.kafka.connect.data.Schema
 
type() - Method in class org.apache.kafka.connect.data.SchemaBuilder
 
type(Schema.Type) - Static method in class org.apache.kafka.connect.data.SchemaBuilder
Create a SchemaBuilder for the specified type.

V

validate(Map<String, String>) - Method in class org.apache.kafka.connect.connector.Connector
Validate the connector configuration values against configuration definitions.
validate() - Method in class org.apache.kafka.connect.data.Struct
Validates that this struct has filled in all the necessary data with valid values.
validateValue(Schema, Object) - Static method in class org.apache.kafka.connect.data.ConnectSchema
Validate that the value can be used with the schema, i.e.
validateValue(Object) - Method in class org.apache.kafka.connect.data.ConnectSchema
Validate that the value can be used for this schema, i.e.
value() - Method in class org.apache.kafka.connect.connector.ConnectRecord
 
value() - Method in class org.apache.kafka.connect.data.SchemaAndValue
 
valueOf(String) - Static method in enum org.apache.kafka.connect.data.Schema.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.kafka.connect.data.Schema.Type
Returns an array containing the constants of this enum type, in the order they are declared.
valueSchema() - Method in class org.apache.kafka.connect.connector.ConnectRecord
 
valueSchema() - Method in class org.apache.kafka.connect.data.ConnectSchema
 
valueSchema() - Method in interface org.apache.kafka.connect.data.Schema
Get the value schema for this map or array schema.
valueSchema() - Method in class org.apache.kafka.connect.data.SchemaBuilder
 
version() - Method in class org.apache.kafka.connect.connector.Connector
Get the version of this connector.
version() - Method in interface org.apache.kafka.connect.connector.Task
Get the version of this task.
version() - Method in class org.apache.kafka.connect.data.ConnectSchema
 
version() - Method in interface org.apache.kafka.connect.data.Schema
Get the optional version of the schema.
version() - Method in class org.apache.kafka.connect.data.SchemaBuilder
 
version(Integer) - Method in class org.apache.kafka.connect.data.SchemaBuilder
Set the version of this schema.
A B C D E F G H I K L M N O P R S T V