Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-15034

Improvement of ReplaceField performance for long list

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Done
    • 3.4.0
    • 3.6.0
    • connect
    • None

    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 ?

      Attachments

        Issue Links

          Activity

            People

              yash.mayya Yash Mayya
              baz33 BDeus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: