Hello. So I am setting up a Flink instance on kubernetes and I am trying to use the Flink prometheus connector. Here in the Docs: https://nightlies.apache.org/flink/flink-docs-release-1.20/docs/connectors/datastream/prometheus/#batching it says I can set my batch sizes for the batching of the messages to be sent to prometheus. When I run it I get an exception: java.lang.UnsupportedOperationException: maxBatchSize is not supported by this sink
So I went looking into the source code and found that in the PrometheusSinkBuilder (https://github.com/apache/flink-connector-prometheus/blob/main/flink-connector-pro[…]ache/flink/connector/prometheus/sink/PrometheusSinkBuilder.java) all the setter methods are defined twice once with the actual code and another time further down (lines 205 - 223) with throwing the unsupported exception. Is there a reason for this? The code is written in such a way that I cannot even reuse it. I will have to fork it and create my own library from it just to make it useful.
I need Batch sizes much larger than the default of 500 to make the operation to prometheus more efficient to keep up with the message output we are projecting