in TwoPhaseCommitSinkFunctionOutput Maybe A large number of EventData will be output(log.info),which will cause IO bottleneck and disk waste.
my code in the attachment, A large number event data output in the log output by flink , e.g:
in TwoPhaseCommitSinkFunction about LOG.info code is as follows:
will be invoke pendingTransaction'toString method (pendingTransaction is TransactionHolder'instance)
TransactionHolder'toString method code is:
handle is the concrete realization of my Transaction! There is a parameter of List type in my Transaction, which is used to receive data. as a result, these data are printed out(log.info)