| Package | Description |
|---|---|
| org.apache.flink.connector.jdbc.xa |
Provides exactly-once JDBC sink implementation using Java XA transactions API (JTA).
|
| Modifier and Type | Method and Description |
|---|---|
static XidGenerator |
XidGenerator.semanticXidGenerator()
Creates a
XidGenerator that generates xids from:
job id
subtask index
checkpoint id
four random bytes generated using SecureRandom)
|
| Constructor and Description |
|---|
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 © 2022–2024 The Apache Software Foundation. All rights reserved.