Package | Description |
---|---|
org.apache.flink.streaming.connectors.kafka |
Modifier and Type | Field and Description |
---|---|
protected FlinkKafkaProducer.Semantic |
FlinkKafkaProducer.semantic
Semantic chosen for this instance.
|
Modifier and Type | Method and Description |
---|---|
static FlinkKafkaProducer.Semantic |
FlinkKafkaProducer.Semantic.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlinkKafkaProducer.Semantic[] |
FlinkKafkaProducer.Semantic.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
FlinkKafkaProducer(String defaultTopic,
KafkaSerializationSchema<IN> serializationSchema,
Properties producerConfig,
FlinkKafkaProducer.Semantic semantic)
Creates a
FlinkKafkaProducer for a given topic. |
FlinkKafkaProducer(String defaultTopic,
KafkaSerializationSchema<IN> serializationSchema,
Properties producerConfig,
FlinkKafkaProducer.Semantic semantic,
int kafkaProducersPoolSize)
Creates a FlinkKafkaProducer for a given topic.
|
FlinkKafkaProducer(String topicId,
KeyedSerializationSchema<IN> serializationSchema,
Properties producerConfig,
FlinkKafkaProducer.Semantic semantic)
|
FlinkKafkaProducer(String defaultTopicId,
KeyedSerializationSchema<IN> serializationSchema,
Properties producerConfig,
Optional<FlinkKafkaPartitioner<IN>> customPartitioner,
FlinkKafkaProducer.Semantic semantic,
int kafkaProducersPoolSize)
|
FlinkKafkaProducer(String topicId,
SerializationSchema<IN> serializationSchema,
Properties producerConfig,
FlinkKafkaPartitioner<IN> customPartitioner,
FlinkKafkaProducer.Semantic semantic,
int kafkaProducersPoolSize)
Creates a FlinkKafkaProducer for a given topic.
|
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.