| 程序包 | 说明 |
|---|---|
| org.apache.flink.connector.jdbc.xa |
Provides exactly-once JDBC sink implementation using Java XA transactions API (JTA).
|
| 限定符和类型 | 方法和说明 |
|---|---|
static XidGenerator |
XidGenerator.semanticXidGenerator()
Creates a
XidGenerator that generates xids from:
job id
subtask index
checkpoint id
four random bytes generated using SecureRandom)
Each created XidGenerator instance MUST be used for only one Sink instance
(otherwise Xids could collide). |
| 构造器和说明 |
|---|
JdbcXaSinkFunction(JdbcOutputFormat<T,T,JdbcBatchStatementExecutor<T>> outputFormat,
XaFacade xaFacade,
XidGenerator xidGenerator,
org.apache.flink.connector.jdbc.xa.XaSinkStateHandler stateHandler,
JdbcExactlyOnceOptions options,
org.apache.flink.connector.jdbc.xa.XaGroupOps xaGroupOps)
Creates a
JdbcXaSinkFunction. |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.