Also used :
DynamicTableFactory(org.apache.flink.table.factories.DynamicTableFactory)
IntStream(java.util.stream.IntStream)
DeliveryGuarantee(org.apache.flink.connector.base.DeliveryGuarantee)
DataType(org.apache.flink.table.types.DataType)
FlinkException(org.apache.flink.util.FlinkException)
ConfigOptions(org.apache.flink.configuration.ConfigOptions)
Arrays(java.util.Arrays)
SCAN_STARTUP_TIMESTAMP_MILLIS(org.apache.flink.streaming.connectors.kafka.table.KafkaConnectorOptions.SCAN_STARTUP_TIMESTAMP_MILLIS)
KEY_FORMAT(org.apache.flink.streaming.connectors.kafka.table.KafkaConnectorOptions.KEY_FORMAT)
TOPIC(org.apache.flink.streaming.connectors.kafka.table.KafkaConnectorOptions.TOPIC)
TRANSACTIONAL_ID_PREFIX(org.apache.flink.streaming.connectors.kafka.table.KafkaConnectorOptions.TRANSACTIONAL_ID_PREFIX)
DELIVERY_GUARANTEE(org.apache.flink.streaming.connectors.kafka.table.KafkaConnectorOptions.DELIVERY_GUARANTEE)
TOPIC_PATTERN(org.apache.flink.streaming.connectors.kafka.table.KafkaConnectorOptions.TOPIC_PATTERN)
HashMap(java.util.HashMap)
VALUE_FIELDS_INCLUDE(org.apache.flink.streaming.connectors.kafka.table.KafkaConnectorOptions.VALUE_FIELDS_INCLUDE)
InstantiationUtil(org.apache.flink.util.InstantiationUtil)
ReadableConfig(org.apache.flink.configuration.ReadableConfig)
Map(java.util.Map)
ConfigOption(org.apache.flink.configuration.ConfigOption)
FORMAT(org.apache.flink.table.factories.FactoryUtil.FORMAT)
FlinkFixedPartitioner(org.apache.flink.streaming.connectors.kafka.partitioner.FlinkFixedPartitioner)
SCAN_STARTUP_MODE(org.apache.flink.streaming.connectors.kafka.table.KafkaConnectorOptions.SCAN_STARTUP_MODE)
RowData(org.apache.flink.table.data.RowData)
Properties(java.util.Properties)
KafkaTopicPartition(org.apache.flink.streaming.connectors.kafka.internals.KafkaTopicPartition)
ValueFieldsStrategy(org.apache.flink.streaming.connectors.kafka.table.KafkaConnectorOptions.ValueFieldsStrategy)
Configuration(org.apache.flink.configuration.Configuration)
TableException(org.apache.flink.table.api.TableException)
VALUE_FORMAT(org.apache.flink.streaming.connectors.kafka.table.KafkaConnectorOptions.VALUE_FORMAT)
ScanStartupMode(org.apache.flink.streaming.connectors.kafka.table.KafkaConnectorOptions.ScanStartupMode)
Preconditions(org.apache.flink.util.Preconditions)
FlinkKafkaPartitioner(org.apache.flink.streaming.connectors.kafka.partitioner.FlinkKafkaPartitioner)
StartupMode(org.apache.flink.streaming.connectors.kafka.config.StartupMode)
List(java.util.List)
SINK_PARTITIONER(org.apache.flink.streaming.connectors.kafka.table.KafkaConnectorOptions.SINK_PARTITIONER)
FactoryUtil(org.apache.flink.table.factories.FactoryUtil)
LogicalType(org.apache.flink.table.types.logical.LogicalType)
ValidationException(org.apache.flink.table.api.ValidationException)
Optional(java.util.Optional)
SCAN_STARTUP_SPECIFIC_OFFSETS(org.apache.flink.streaming.connectors.kafka.table.KafkaConnectorOptions.SCAN_STARTUP_SPECIFIC_OFFSETS)
Internal(org.apache.flink.annotation.Internal)
Pattern(java.util.regex.Pattern)
KEY_FIELDS_PREFIX(org.apache.flink.streaming.connectors.kafka.table.KafkaConnectorOptions.KEY_FIELDS_PREFIX)
LogicalTypeRoot(org.apache.flink.table.types.logical.LogicalTypeRoot)
LogicalTypeChecks(org.apache.flink.table.types.logical.utils.LogicalTypeChecks)
KEY_FIELDS(org.apache.flink.streaming.connectors.kafka.table.KafkaConnectorOptions.KEY_FIELDS)
TableException(org.apache.flink.table.api.TableException)
ValidationException(org.apache.flink.table.api.ValidationException)
ValueFieldsStrategy(org.apache.flink.streaming.connectors.kafka.table.KafkaConnectorOptions.ValueFieldsStrategy)
LogicalType(org.apache.flink.table.types.logical.LogicalType)
IntStream(java.util.stream.IntStream)