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