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

Remove generic type of class ClientState

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.11.0.0
    • streams

    Description

      Currently, class org.apache.kafka.streams.processor.internals.assignment.ClientState<T> uses a generic type. However, within actual Streams code base the type will always be TaskId (from package org.apache.kafka.streams.processor).

      Thus, this ticket is about removing the generic type and replace it with TaskId, to simplify the code base.

      There are some tests, that use ClientState<Integer> (what allows for a slightly simplified test setup). Those tests need to be updated to work properly using TaskId instead of Integer.

      Attachments

        Issue Links

          Activity

            People

              sharad.develop Sharad
              mjsax Matthias J. Sax
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: