| commit | 52e7e580cd3b453a92a87afff4daf19ec53212dd | [log] [tgz] |
|---|---|---|
| author | xiaochen <598457447@qq.com> | Thu Sep 19 14:24:19 2024 +0800 |
| committer | GitHub <noreply@github.com> | Thu Sep 19 08:24:19 2024 +0200 |
| tree | 9b973b39316560efe6bdc373420a800b2a23eb22 | |
| parent | 122a74394629701ce1096b6ea49a03a0e0744b2b [diff] |
[FLINK-36209] Remove redundant operations in the initialization of KafkaSourceEnumState (#116) In certain methods, such as the DynamicKafkaSourceEnumerator#onHandleSubscribedStreamsFetch() method, partitions are divided into assignedPartitions and unassignedInitialPartitions before being passed as parameters to the KafkaSourceEnumState constructor. However, within the constructor, these assignedPartitions and unassignedInitialPartitions are recombined into partitions, leading to unnecessary operations and reduced performance. By optimizing the code to pass partitions directly as a parameter when initializing KafkaSourceEnumState, we can eliminate redundant operations and enhance performance. --------- Co-authored-by: ClownXC <chen3494269@163.com>
This repository contains the official Apache Flink Kafka connector.
Apache Flink is an open source stream processing framework with powerful stream- and batch-processing capabilities.
Learn more about Flink at https://flink.apache.org/
Prerequisites:
git clone https://github.com/apache/flink-connector-kafka.git cd flink-connector-kafka mvn clean package -DskipTests
The resulting jars can be found in the target directory of the respective module.
The Flink committers use IntelliJ IDEA to develop the Flink codebase. We recommend IntelliJ IDEA for developing projects that involve Scala code.
Minimal requirements for an IDE are:
The IntelliJ IDE supports Maven out of the box and offers a plugin for Scala development.
Check out our Setting up IntelliJ guide for details.
Don’t hesitate to ask!
Contact the developers and community on the mailing lists if you need any help.
Open an issue if you found a bug in Flink.
The documentation of Apache Flink is located on the website: https://flink.apache.org or in the docs/ directory of the source code.
This is an active open-source project. We are always open to people who want to use the system or contribute to it. Contact us if you are looking for implementation tasks that fit your skills. This article describes how to contribute to Apache Flink.
Apache Flink is an open source project of The Apache Software Foundation (ASF). The Apache Flink project originated from the Stratosphere research project.