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:20:00 UTC
[jira] [Updated] (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 ]
BDeus updated KAFKA-15034:
--------------------------
Description:
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 ?
was:
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 ?
> 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
> 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)