在使用flink向kafka写入数据报错:Caused by: org.apache.kafka.common.KafkaException: Unexpected error in InitProducerIdResponse; The transaction timeout is larger than the maximum value allowed by the broker (as configured by transaction.max.timeout.ms).
这是因为事务超时值超过了Kafka代理允许的最大值。具体来说,配置的transaction.timeout.ms
超过了代理的transaction.max.timeout.ms
配置

解决
在使用EXACTLY_ONCE的时候需要增大transaction.max.timeout.ms的值
修改参数

改完之后再重新跑就可以跑通了

