public class KafkaConnectUtils
extends java.lang.Object
Constructor and Description |
---|
KafkaConnectUtils() |
Modifier and Type | Method and Description |
---|---|
static SourceRecordMapper<Row> |
beamRowFromSourceRecordFn(Schema recordSchema) |
static Schema |
beamSchemaFromKafkaConnectSchema(org.apache.kafka.connect.data.Schema kafkaSchema) |
static Schema.FieldType |
beamSchemaTypeFromKafkaType(org.apache.kafka.connect.data.Schema kafkaFieldSchema) |
static Instant |
debeziumRecordInstant(org.apache.kafka.connect.source.SourceRecord record) |
public static Schema beamSchemaFromKafkaConnectSchema(org.apache.kafka.connect.data.Schema kafkaSchema)
public static Schema.FieldType beamSchemaTypeFromKafkaType(org.apache.kafka.connect.data.Schema kafkaFieldSchema)
public static Instant debeziumRecordInstant(org.apache.kafka.connect.source.SourceRecord record)
public static SourceRecordMapper<Row> beamRowFromSourceRecordFn(Schema recordSchema)