@AutoService(value=SchemaTransformProvider.class) public class KafkaWriteSchemaTransformProvider extends TypedSchemaTransformProvider<KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration>
Modifier and Type | Class and Description |
---|---|
static class |
KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration |
Modifier and Type | Field and Description |
---|---|
static Schema |
ERROR_SCHEMA |
static TupleTag<Row> |
ERROR_TAG |
static TupleTag<KV<byte[],byte[]>> |
OUTPUT_TAG |
static java.util.Set<java.lang.String> |
SUPPORTED_FORMATS |
static java.lang.String |
SUPPORTED_FORMATS_STR |
Constructor and Description |
---|
KafkaWriteSchemaTransformProvider() |
Modifier and Type | Method and Description |
---|---|
protected @UnknownKeyFor @NonNull @Initialized java.lang.Class<KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration> |
configurationClass() |
protected @UnknownKeyFor @NonNull @Initialized SchemaTransform |
from(KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration configuration)
Produce a SchemaTransform from ConfigT.
|
@UnknownKeyFor @NonNull @Initialized java.lang.String |
identifier()
Returns an id that uniquely represents this transform.
|
@UnknownKeyFor @NonNull @Initialized java.util.List<java.lang.String> |
inputCollectionNames()
Returns the input collection names of this transform.
|
@UnknownKeyFor @NonNull @Initialized java.util.List<java.lang.String> |
outputCollectionNames()
Returns the output collection names of this transform.
|
configurationSchema, dependencies, from
public static final java.lang.String SUPPORTED_FORMATS_STR
public static final java.util.Set<java.lang.String> SUPPORTED_FORMATS
public static final Schema ERROR_SCHEMA
protected @UnknownKeyFor @NonNull @Initialized java.lang.Class<KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration> configurationClass()
protected @UnknownKeyFor @NonNull @Initialized SchemaTransform from(KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration configuration)
TypedSchemaTransformProvider
InvalidConfigurationException
or a
InvalidSchemaException
.from
in class TypedSchemaTransformProvider<KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration>
public @UnknownKeyFor @NonNull @Initialized java.lang.String identifier()
SchemaTransformProvider
public @UnknownKeyFor @NonNull @Initialized java.util.List<java.lang.String> inputCollectionNames()
SchemaTransformProvider
public @UnknownKeyFor @NonNull @Initialized java.util.List<java.lang.String> outputCollectionNames()
SchemaTransformProvider