Package | Description |
---|---|
org.apache.flink.streaming.api.functions.sink | |
org.apache.flink.streaming.connectors.kafka |
Modifier and Type | Method and Description |
---|---|
protected TwoPhaseCommitSinkFunction<IN,TXN,CONTEXT> |
TwoPhaseCommitSinkFunction.enableTransactionTimeoutWarnings(double warningRatio)
Enables logging of warnings if a transaction's elapsed time reaches a specified ratio of
the
transactionTimeout . |
protected TwoPhaseCommitSinkFunction<IN,TXN,CONTEXT> |
TwoPhaseCommitSinkFunction.ignoreFailuresAfterTransactionTimeout()
If called, the sink will only log but not propagate exceptions thrown in
recoverAndCommit(Object) if the transaction is older than a specified transaction
timeout. |
protected TwoPhaseCommitSinkFunction<IN,TXN,CONTEXT> |
TwoPhaseCommitSinkFunction.setTransactionTimeout(long transactionTimeout)
Sets the transaction timeout.
|
Modifier and Type | Class and Description |
---|---|
class |
FlinkKafkaProducer<IN>
Flink Sink to produce data into a Kafka topic.
|
class |
FlinkKafkaProducer011<IN>
Flink Sink to produce data into a Kafka topic.
|
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.