@InterfaceStability.Unstable public abstract class ConnectRecord extends Object
Base class for records containing data to be copied to/from Kafka. This corresponds closely to Kafka's ProducerRecord and ConsumerRecord classes, and holds the data that may be used by both sources and sinks (topic, kafkaPartition, key, value). Although both implementations include a notion of offset, it is not included here because they differ in type.
Constructor and Description |
---|
ConnectRecord(String topic,
Integer kafkaPartition,
Schema keySchema,
Object key,
Schema valueSchema,
Object value,
Long timestamp) |