private boolean hasMetadata() {
        return metadataKeys.size() > 0;
    }
Parallelism of the physical Kafka producer. *
inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/kafka/src/main/java/org/apache/inlong/sort/kafka/table/KafkaDynamicSink.java