DTStack / chunjun

A data integration framework
https://dtstack.github.io/chunjun/
Apache License 2.0
3.98k stars 1.69k forks source link

[Bug] [chunjun-connector-kafka] DynamicKafkaSerializationSchema durationCounter have two different type #1847

Open sailyfirm opened 10 months ago

sailyfirm commented 10 months ago

Search before asking

What happened

when include kafka sink and es sink

java.lang.UnsupportedOperationException: The accumulator object 'writeDuration' was created with two different types: org.apache.flink.api.common.accumulators.LongMaximum and org.apache.flink.api.common.accumulators.LongCounter

What you expected to happen

writeDuration accumulator maybe need a single type of LongCounter

How to reproduce

include kafka sink and es sink in a task.

Anything else

No response

Version

master

Are you willing to submit PR?

Code of Conduct