You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Yash Mayya (Jira)" <ji...@apache.org> on 2023/05/29 14:19:00 UTC
[jira] [Assigned] (KAFKA-15034) Improvement of ReplaceField performance for long list
[ https://issues.apache.org/jira/browse/KAFKA-15034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yash Mayya reassigned KAFKA-15034:
----------------------------------
Assignee: Yash Mayya
> 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
> Assignee: Yash Mayya
> Priority: Minor
>
> 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)