@Experimental @DefaultSchema(value=AutoValueSchema.class) public abstract class KafkaSchemaTransformReadConfiguration extends java.lang.Object
Internal only: This class is actively being worked on, and it will likely change. We provide no backwards compatibility guarantees, and it should not be implemented outside the Beam repository.
Modifier and Type | Class and Description |
---|---|
static class |
KafkaSchemaTransformReadConfiguration.Builder
Builder for the
KafkaSchemaTransformReadConfiguration . |
Modifier and Type | Field and Description |
---|---|
static java.util.Set<java.lang.String> |
VALID_DATA_FORMATS |
static java.util.Set<java.lang.String> |
VALID_START_OFFSET_VALUES |
Constructor and Description |
---|
KafkaSchemaTransformReadConfiguration() |
Modifier and Type | Method and Description |
---|---|
static KafkaSchemaTransformReadConfiguration.Builder |
builder()
Instantiates a
KafkaSchemaTransformReadConfiguration.Builder instance. |
abstract java.lang.String |
getAutoOffsetResetConfig() |
abstract java.lang.String |
getAvroSchema() |
abstract java.lang.String |
getBootstrapServers()
Sets the bootstrap servers for the Kafka consumer.
|
abstract java.lang.String |
getConfluentSchemaRegistrySubject() |
abstract java.lang.String |
getConfluentSchemaRegistryUrl() |
abstract java.util.Map<java.lang.String,java.lang.String> |
getConsumerConfigUpdates() |
abstract java.lang.String |
getDataFormat() |
abstract java.lang.String |
getTopic()
Sets the topic from which to read.
|
void |
validate() |
public static final java.util.Set<java.lang.String> VALID_START_OFFSET_VALUES
public static final java.util.Set<java.lang.String> VALID_DATA_FORMATS
public KafkaSchemaTransformReadConfiguration()
public void validate()
public static KafkaSchemaTransformReadConfiguration.Builder builder()
KafkaSchemaTransformReadConfiguration.Builder
instance.public abstract java.lang.String getBootstrapServers()
@Nullable public abstract java.lang.String getConfluentSchemaRegistryUrl()
@Nullable public abstract java.lang.String getDataFormat()
@Nullable public abstract java.lang.String getConfluentSchemaRegistrySubject()
@Nullable public abstract java.lang.String getAvroSchema()
@Nullable public abstract java.lang.String getAutoOffsetResetConfig()
@Nullable public abstract java.util.Map<java.lang.String,java.lang.String> getConsumerConfigUpdates()
public abstract java.lang.String getTopic()