Package | Description |
---|---|
org.apache.flink.connector.kafka.sink |
Modifier and Type | Method and Description |
---|---|
static <IN> KafkaSinkBuilder<IN> |
KafkaSink.builder()
Create a
KafkaSinkBuilder to construct a new KafkaSink . |
KafkaSinkBuilder<IN> |
KafkaSinkBuilder.setBootstrapServers(String bootstrapServers)
Sets the Kafka bootstrap servers.
|
KafkaSinkBuilder<IN> |
KafkaSinkBuilder.setDeliverGuarantee(DeliveryGuarantee deliveryGuarantee)
Sets the wanted the
DeliveryGuarantee . |
KafkaSinkBuilder<IN> |
KafkaSinkBuilder.setKafkaProducerConfig(Properties kafkaProducerConfig)
Sets the configuration which used to instantiate all used
KafkaProducer . |
KafkaSinkBuilder<IN> |
KafkaSinkBuilder.setRecordSerializer(KafkaRecordSerializationSchema<IN> recordSerializer)
Sets the
KafkaRecordSerializationSchema that transforms incoming records to ProducerRecord s. |
KafkaSinkBuilder<IN> |
KafkaSinkBuilder.setTransactionalIdPrefix(String transactionalIdPrefix)
Sets the prefix for all created transactionalIds if
DeliveryGuarantee.EXACTLY_ONCE is
configured. |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.