| 程序包 | 说明 |
|---|---|
| org.apache.flink.streaming.api.functions.sink |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.