You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "BDeus (Jira)" <ji...@apache.org> on 2023/05/29 13:19:00 UTC

[jira] [Created] (KAFKA-15034) Improvement of ReplaceField performance for long list

BDeus created KAFKA-15034:
-----------------------------

             Summary: Improvement of ReplaceField performance for long list
                 Key: KAFKA-15034
                 URL: https://issues.apache.org/jira/browse/KAFKA-15034
             Project: Kafka
          Issue Type: Improvement
          Components: KafkaConnect
    Affects Versions: 3.4.0
            Reporter: BDeus


SMTs ReplaceField use List<String> for include and exclude filter that use ArrayList internally.

In case of long list of filter the complexity of arraylist _O(n)_ results in poor performance.

Could we use HashSet implementation in ReplaceField class instead of the traditionnal ArrayList ?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)