You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Alex Sorokoumov (Jira)" <ji...@apache.org> on 2023/01/06 22:34:00 UTC

[jira] [Commented] (FLINK-30419) Allow tuning of transaction timeout

    [ https://issues.apache.org/jira/browse/FLINK-30419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17655593#comment-17655593 ] 

Alex Sorokoumov commented on FLINK-30419:
-----------------------------------------

The 1h default comes from [FlinkKafkaProducer|https://github.com/apache/flink/blob/master/flink-connectors/flink-connector-kafka/src/main/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaProducer.java] that deprecated in favour of [KafkaSink|https://github.com/apache/flink/blob/master/flink-connectors/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/sink/KafkaSink.java].

[~lzljs3620320] is there a reason to keep using FlinkKafkaProducer? If not, [~vicky_papavas] or I will be happy to make a PR that replaces it with KafkaSink.

> Allow tuning of transaction timeout
> -----------------------------------
>
>                 Key: FLINK-30419
>                 URL: https://issues.apache.org/jira/browse/FLINK-30419
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table Store
>            Reporter: Vicky Papavasileiou
>            Priority: Major
>
> FTS sets the producer transaction timeout to 1hr. The maximum allowed by a kafka broker is 15 mins. This causes exceptions to be thrown and the job dies when kafka log is enabled on a table. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)